Android PreferenceScreen "color picker"

Can someone help me? I need to implement some set of colors for the preference screen (setting live wallpapers). Is there any solution out there, some kind of open source?

+6
source share
4 answers

I tried the following:

It is very easy to use. You can download the code and see an example.

Here's what it looks like:

enter image description here

+9
source

It is too late for the initial interlocutor, whom I expect, but here is the library that I wrote after I did not find what I need here. It can be used as follows:

<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 details here:

HSV-Alpha Color Picker for Android (GitHub).

HSV-Alpha Color demo (Google Play).

I hope this is helpful to someone else.

Colorpreference Color selection

+9
source

If someone is looking for a great new color picker for Android that uses material design, I developed a great project from github and made an easy to use Android color picker dialog.

This is a project: Android Color Picker

Android color picker example

Easy to implement on your own. There is a full Android studio project that you can download to see how it works.

+4
source

you can check this:

Colorpickercollection

If you want to allow the user to choose from a variety of colors, you can use the ColorPickerCollection library.

+3
source

All Articles