can someone help me? I need implement some color picker to preference screen (live wallpaper settings). Is there any solution out there, some open source?
Too late for the original questioner I expect, but here's the library I wrote after not finding what I needed here. It can be used like this:
<PreferenceScreen
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<com.rarepebble.colorpicker.ColorPreference
android:key="myColor"
android:title="@string/pref_title"
android:defaultValue="#f00"
/>
</PreferenceScreen>
More info here:
HSV-Alpha Color Picker for Android (GitHub).
HSV-Alpha Color Picker Demo (Google Play).
I hope it's useful for somebody else.
I tried this one:
mColorPicker
mColorPicker2
It is very easy to use. You can download the code and see an example.
This is how it looks:
If someone is looking for a great new android color picker that use material design I have forked an great project from github and made a simple-to-use android color picker dialog.
This is the project: Android Color Picker
It's easy to implement by yourself. There is a complete android studio project ready to download for see how it works.
you may check this:
ColorPickerCollection
If you want to let user choose on out of set of colors, you can use the ColorPickerCollection library.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With