RippleUtils

Utils class for ripples.

Properties

Link copied to clipboard

Functions

Link copied to clipboard
Converts the given color state list to one that can be passed to a RippleDrawable.
Link copied to clipboard
open fun createOvalRippleLollipop(@NonNull context: Context, @Px padding: Int): Drawable
On API 21 and 22, the ripple implementation has a bug that it will be shown behind the container view under certain conditions.
Link copied to clipboard
Returns a ColorStateList that is safe to pass to .
Link copied to clipboard
Whether a compat ripple should be drawn.