ControlButtonStyle
data class ControlButtonStyle(val icon: Drawable?, @ColorInt val iconTint: Int, val background: Drawable?, @ColorInt val backgroundTint: Int, val enabled: Boolean, val backgroundEnabledAlpha: Float, val backgroundDisabledAlpha: Float)
Style for ControlButtonStyle. Use this class together with TransformStyle.controlButtonStyleTransformer to change ControlButtonStyle styles programmatically.
Parameters
icon
The icon for the button.
iconTint
The color of the icon.
background
The button background.
backgroundTint
The background color.
enabled
Whether the view is enabled or not. Will set opacity on background depending on the state.
backgroundEnabledAlpha
Background opacity when the option is enabled.
backgroundDisabledAlpha
Background opacity when the option is disabled.