Skip to content

SimpleColorWheelDialog

Philipp Niedermayer edited this page Feb 15, 2017 · 11 revisions

SimpleColorWheelDialog

extends CustomViewDialog

A dialog with a stylish and intuitive HSV color picker

Building dialogs

Example

SimpleColorWheelDialog.build()
                      .color(0xFFCF4747)
                      .alpha(true)
                      .show(Activity.this, COLOR_PICKER);

Available customizations

  • Initial color
    .color(int color)
    When defined, an adittional color pad showing the old color will become visible.
  • Transparency
    alpha(boolean enabled)
    Weather or not to allow for transparent colors. When enabled, a slider for the alpha value will be displayed.
Clone this wiki locally