Skip to content
An easy to use android color picker library
Java
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
color-picker
example
gradle/wrapper refine code Mar 24, 2017
.gitignore init Dec 29, 2015
.travis.yml
LICENSE
README.md
build.gradle
gradle.properties
gradlew init Dec 29, 2015
gradlew.bat
settings.gradle

README.md

ColorPicker

An easy to use android color picker library. Based on android-colorpicker.

Android Arsenal Build Status JAR Download

Download

Grab via gradle

dependencies {
    compile 'org.xdty.preference:color-picker:0.0.5'
}

or maven

<dependency>
  <groupId>org.xdty.preference</groupId>
  <artifactId>color-picker</artifactId>
  <version>0.0.5</version>
  <type>aar</type>
</dependency>

or JAR from maven central

Usage

For more details, see example

    <org.xdty.preference.ColorPreference
        android:key="example_color"
        android:title="Color"
        android:summary="This is a color preference"
        tools:dialogTitle="@string/default_color"
        tools:colors="@array/default_rainbow"
        tools:columns="5"
        tools:material="true"
        tools:backwardsOrder="true"
        tools:strokeWidth="0"
        tools:strokeColor="@android:color/black"
        android:defaultValue="@color/flamingo"/>

ScreenShot

screenshot

You can’t perform that action at this time.