Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

Latest commit

 

History

History
21 lines (15 loc) · 571 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 571 Bytes

android-color-picker

A simple color picker library for Android

Usage

Instantiate with default colors

ColorPickerFragment colorPickerFragment = ColorPickerFragment.getInstance();
colorPickerFragment.show(getSupportFragmentManager(), "ColorPicker");

### Instantiate with custom colors

String[] colors = new String[]{"#FFFFFF", "#FF0000", "#00FF00", "#000000"};
ColorPickerFragment colorPickerFragment = ColorPickerFragment.getInstance(colors);
colorPickerFragment.show(getSupportFragmentManager(), "ColorPicker");