setOpacityBarEnabled

open fun setOpacityBarEnabled(enabled: Boolean)(source)

Enables or disables the opacity seek bar.

When enabled, the opacity seek bar and its container become visible, allowing the user to adjust the alpha (transparency) of the selected color. When disabled, these views are hidden.

Parameters

enabled

true to enable and show the opacity bar, false to disable and hide it.