File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
lib/java/com/google/android/material Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 4949@ RestrictTo (LIBRARY_GROUP )
5050class MaterialButtonHelper {
5151
52- // This is a hacky workaround. Currently on certain devices/versions,
52+ // This is a workaround. Currently on certain devices/versions,
5353 // LayerDrawable will draw a black background underneath any layer with a non-opaque color,
5454 // unless we set the shape to be something that's not a perfect rectangle.
5555 private static final float CORNER_RADIUS_ADJUSTMENT = 0.00001F ;
Original file line number Diff line number Diff line change @@ -2031,7 +2031,7 @@ private void updateBackgroundDrawable(Context context) {
20312031
20322032 if (tabRippleColorStateList != null ) {
20332033 GradientDrawable maskDrawable = new GradientDrawable ();
2034- // TODO: Find a non-hacky workaround for this. Currently on certain devices/versions,
2034+ // TODO: Find a workaround for this. Currently on certain devices/versions,
20352035 // LayerDrawable will draw a black background underneath any layer with a non-opaque color,
20362036 // (e.g. ripple) unless we set the shape to be something that's not a perfect rectangle.
20372037 maskDrawable .setCornerRadius (0.00001F );
You can’t perform that action at this time.
0 commit comments