Skip to content
🎨 A imitation color picker just like photoshop's for Android that based on HSV color space
Branch: master
Clone or download

README.md

ColorPickerColorPicker

Author: Relish Wang

中文文档

[TOC]

Brief Introduction

jitpack api build

ColorPicker is A imitation color picker just like Photoshop's for Android that based on HSV color space.

主界面

How to start

Add dependency in gradle

1 In the build.gradle of project

allprojects {
    repositories {
        maven { url 'https://jitpack.io' }
    }
}

2 In the build.gradle of app

compile 'com.github.relish-wang:ColorPicker:0.0.2-SNAPSHOT'

Log of version change

CHANGELOG.md

How to use

launch a color picker

new ColorPickerDialog.Builder(context, mColor)              //mColor:init color
        .setHexValueEnabled(mHexValueEnable)                //whether show the color value(Hexadecimal) or not
        .setOnColorChangedListener(onColorChangedListener)  //set a listener for listening color changing
        .build()
        .show();//show

attention

  • API Level 14+

Q&A

while Manifest files merging

Manifest merger failed : Attribute meta-data#android.support.VERSION@value value=(25.3.1) ...

attention:

add code below at the end of the build.gradle of app

configurations.all {
 resolutionStrategy.eachDependency { DependencyResolveDetails details ->
     def requested = details.requested
     if (requested.group == 'com.android.support') {
         if (!requested.name.startsWith("multidex")) {
             details.useVersion '25.3.0'
         }
     }
 }
}

Proguard Configuration

Nothing.

You can’t perform that action at this time.