RippleStyle

sealed class RippleStyle

Style of Ripple effect to use when a android.widget.Button is configured with a KalugaButtonStyle

Inheritors

Types

Link copied to clipboard
data class CustomRipple(val color: KalugaColor) : RippleStyle

A RippleStyle where the ripple has a custom KalugaColor

Link copied to clipboard

A RippleStyle where the ripple has the color of foreground color of the button. For KalugaButtonStyle.WithText this will be ButtonStateStyle.WithText.textColor For KalugaButtonStyle.ImageOnly it will be the com.splendo.kaluga.resources.TintedImage.tint if ButtonImage.Tinted was set For all other cases, the background will simply be lightened/darkened depending on whether dark mode is active or not

Link copied to clipboard
data object None : RippleStyle

A RippleStyle where no Ripple effect is applied