Remove 1 pixel hairline from BottomAppBar

PiperOrigin-RevId: 199356320
This commit is contained in:
dniz 2018-06-05 17:16:50 -04:00 committed by Daniel Nizri
parent a0457bce83
commit 11d5335ea9

View File

@ -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);