mirror of
https://github.com/material-components/material-components-android.git
synced 2026-01-18 02:51:50 +08:00
RippleDrawable on different API levels will modulate the alphas differently for the pressed / focused / hovered states. Therefore, in order to get the desired alphas for pressed / focused / hovered states, we are using the mtrl_low_ripple_(pressed|focused|hovered|default)_alpha values which have been defined to account for the different implementations of RippleDrawable. PiperOrigin-RevId: 254737730