setShapeAppearance

open fun setShapeAppearance(@NonNull shapeAppearance: ShapeAppearance)

Sets the ShapeAppearance used for this MaterialButton's original drawables.

Throws

if the MaterialButton's background has been overwritten.