duanhong169 / ColorPicker

🎨 A color picker for Android. Pick a color using color wheel and slider (HSV & alpha).
Apache License 2.0
361 stars 82 forks source link

[Request] add option to show/hide brightnessSliderView from ColorPicker #5

Closed LossyDragon closed 5 years ago

LossyDragon commented 5 years ago

Hello,

I'm currently using this color picker as it works with API 28, I like it so far!

However, in my situation, I'm color picker view to to get rgb colors only for communication. The brightness slider currently a waste of space for my current project.

Example I would like to see within layout: app:enableBrightness="Boolean" or programmatically: .enableBrightness(Boolean)

Thanks!

duanhong169 commented 5 years ago

From version 1.1.4, the app:enableBrightness="Boolean" or programmatically: .enableBrightness(Boolean) is supported.