-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Minto Issac edited this page Nov 30, 2015
·
2 revisions
A simple, minimalistic and beautiful color picker for Android 4.1+ devices.The library is a clone of the repo https://github.com/4k3R/material-color-picker.
Get Hex & RGB color codes
Set color using RGB values and get HEX codes
Uses Android Lollipop's setStatusBarColor() to set color of status bar (Notification bar) which changes with change in color palette
Separate UI for portrait and landscape devices
Support for pre-lollipop devices
Design inspired from Dribble by Lucas Bonomi
ColorPicker cp= new ColorPicker(context, 255, 255, 255);
cp.setCallbackListener(new ColorPicker.Callback() {
@Override
public void onSet(int color) {
// Do whatever you want with the color
cp.dismiss();
}
});