mirror of
https://github.com/material-components/material-components-android.git
synced 2026-02-20 08:39:55 +08:00
Remove 1 pixel hairline from BottomAppBar
PiperOrigin-RevId: 199356320
This commit is contained in:
parent
a0457bce83
commit
11d5335ea9
@ -153,7 +153,6 @@ public class BottomAppBar extends Toolbar implements AttachedBehavior {
|
||||
ShapePathModel appBarModel = new ShapePathModel();
|
||||
appBarModel.setTopEdge(topEdgeTreatment);
|
||||
materialShapeDrawable = new MaterialShapeDrawable(appBarModel);
|
||||
materialShapeDrawable.setStrokeWidth(1f /* hairline */);
|
||||
materialShapeDrawable.setShadowEnabled(true);
|
||||
materialShapeDrawable.setPaintStyle(Style.FILL);
|
||||
DrawableCompat.setTintList(materialShapeDrawable, backgroundTint);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user