You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: enable clipToOutline so the rounded outline clips the ripple
setViewOutlinePreferredRadius only installs a round-rect OutlineProvider;
a View still needs clipToOutline=true to actually clip its drawing (the
selectableItemBackground ripple) to that outline. Pair the two, matching
AndroidX RemoteViewsCompat (setViewOutlinePreferredRadius +
setViewClipToOutline, both @RequiresApi(31)). setBoolean invokes
View#setClipToOutline directly, so no new dependency is required.
0 commit comments