A lightweight,simple,dynamic color picker library for Android
1.0.1
Implementation:
implementation 'com.github.metahex:Color-Picker:master-SNAPSHOT'
Screenshots:
Usage
final ColorPickerDialog colorPickerDialog = new ColorPickerDialog(this);
colorPickerDialog.addColors(colors16);
colorPickerDialog.setBackgroundColor(Color.parseColor("#ffffff"));
colorPickerDialog.setHeaderColor(Color.parseColor("#000000"));
...
//Look for other customization functions in the class
colorPickerDialog.setColorChooserListener(new ColorChooserListener() {
@Override
public void onColorChose(int color) {
//Do something with the chosen color
}
});
```