setShapeAppearanceModel

open fun setShapeAppearanceModel(@NonNull shapeAppearanceModel: ShapeAppearanceModel)

Sets the that defines the shape.

Throws

if the MaterialButton's background has been overwritten.