setRippleColor

open fun setRippleColor(@ColorInt color: Int)

Sets the ripple color for this button.

When running on devices with KitKat, we draw this color as a filled circle rather than a ripple.

Parameters

color

ARGB color to use for the ripple

See also


Sets the ripple color for this button.

When running on devices with KitKat, we draw this color as a filled circle rather than a ripple.

Parameters

color

color state list to use for the ripple

See also