On API 21 & 22, the borderless ripple will go behind the container view under certain conditions. Setting a mask when creating the ripple drawable to restrain the ripple inside view bounds somehow solves the issue.
PiperOrigin-RevId: 445920587
On API 21 & 22, the borderless ripple will go behind the container view under certain conditions. Setting a mask when creating the ripple drawable to restrain the ripple inside view bounds somehow solves the issue.
Resolves https://github.com/material-components/material-components-android/issues/929
PiperOrigin-RevId: 444595599
to RippleDrawable. It will:
1. return the original non-null CSL, unmodified. If null, it will return
a transparent CSL
2. log a warning if the original CSL has a non-transparent pressed color
and a transparent default color for API levels 22-27 (this will cause
ripples to end early).
PiperOrigin-RevId: 254431342