skydoves / ColorPickerPreference

🎨 A library that lets you implement ColorPicker, ColorPickerDialog, ColorPickerPreference.
Apache License 2.0
480 stars 51 forks source link

Why not support ARGB? #2

Closed Blankeer closed 6 years ago

Blankeer commented 6 years ago

It only support HSV color, RGB values, right? Why not support ARGB? thx.

skydoves commented 6 years ago

I wanted just simplification. There are many other colorPicker libraries support ARGB. But it looks more complicated and feels being in the box. Generally, in IoT projects, communication protocols have Brightness control Attribute. So ARGB does not need some other cases. Implementing ARGB is really easy. so I chose expandability. But after reading this article, I'm considering selectable ARGB.

b0g8 commented 6 years ago

I am also interested in the possibility of letting the user select transparency. For example, the color picker in this app is quite powerful. I can select any color for text, with transparency. https://play.google.com/store/apps/details?id=com.photoeditorsdk.android.app

carvalho2707 commented 6 years ago

I have the same opinion. At least for this won't be an option due to the lack of transparent options

skydoves commented 6 years ago

@Blankeer @b0g8 @carvalho2707 Hello guys! I released v2.0.0 at here. It supports ARGB, Brightness, Dialog, ect.

Blankeer commented 6 years ago

Thanks to the big brother! 🍺