afohrman 49dc5f4e7c Make MaterialShapeDrawable respect to InsetDrawables.
Before this change, MaterialShapeDrawable did not draw with respect to InsetDrawables. The problem was that MaterialShapeDrawable was using the Canvas to determine where to draw, rather than the bounds. This change reworks MaterialShapeDrawable to use the bounds to calculate and draw the shape's path, rather than the Canvas.

PiperOrigin-RevId: 210724227
2018-08-29 11:33:35 -04:00
..