Projects ColorPickerDialog Docs SelectableCircleColorView

setColor

Type: public void

Sets the color that should display as a circle. If the color matches certain criteria, a border will be automatically added

Parameter Name Description
color The color that we want to apply

setSelected

Type: public void

Specify whether the color is currently "selected".

This animates the color circle's scale between 100% and 80% of the size of the view depending on whether it is selected or unselected, respectively.

If this method is not called, the view defaults to the "selected" state.

Parameter Name Description
isSelected Whether the view is selected.

getAlphaGridPattern

Type: private Paint

Generates a Paint object that simulates the alpha-grid background that is associated with alpha transparency

Returned Value: Alpha-Grid Paint