ControlButtonStyle

constructor(icon: Drawable?, @ColorInt iconTint: Int, background: Drawable?, @ColorInt backgroundTint: Int, enabled: Boolean, backgroundEnabledAlpha: Float, backgroundDisabledAlpha: Float)

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.