applyButtonStyle

fun Button.applyButtonStyle(style: KalugaButtonStyle, rippleStyle: RippleStyle = RippleStyle.ForegroundRipple)

Makes a android.widget.Button look as specified by a KalugaButtonStyle

Parameters

style

the KalugaButtonStyle that specifies the look of the android.widget.Button

rippleStyle

the RippleStyle to apply when the button is pressed