ColorPicker
ColorPicker copied to clipboard
Quick select presets
By adding app:cpv_selectOnClick="true"
to the XML declaration, you can now enable single-tap selection of colours in a preset window. If this is enabled, the "SELECT" dialog button is replaced by a "CANCEL" button to dismiss the dialog. Note that the included translations for this new button are ripped straight from Google Translate, I fully expect there to be issues with these.
Of course if you intend on using any more complex functions (alpha scale, colour shading, custom colour-picking, etc.) this option is not for you, this is just for choosing from a restricted selection of colour presets.
I only did this for my own uses and thought it might be a neat option to include in the main repo.
New user of this library here. Any plans to include this on the library? It seems a nice option for cases where you don't need alpha transparency, etc., and just to allow the user to quickly select a color.