Skip to content

SimpleColorWheelDialog

Philipp Niedermayer edited this page Mar 4, 2017 · 11 revisions

Color wheel

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 second color pad showing the old color will be shown and the wheel will be initialised to this color.
  • 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