bindButton

fun Button.bindButton(button: KalugaButton, rippleStyle: RippleStyle = RippleStyle.ForegroundRipple)

Makes a android.widget.Button look and behave according to a KalugaButton

Parameters

button

the KalugaButton that specifies the look and behaviour of the android.widget.Button

rippleStyle

a RippleStyle that is applied when the button is pressed