Shapeable

public interface Shapeable

com.google.android.material.shape.Shapeable
Chip Chips are compact elements that represent an attribute, text, entity, or action. 
ChipDrawable ChipDrawable contains all the layout and draw logic for Chip
CircularRevealCardView A CircularRevealWidget wrapper for MaterialCardView
ExtendedFloatingActionButton Extended floating action buttons are used for a special type of promoted action. 
FloatingActionButton Floating action buttons are used for a special type of promoted action. 
MaskableFrameLayout A FrameLayout than is able to mask itself and all children. 
MaterialButton A convenience class for creating a new Material button. 
MaterialCardView Provides a Material card. 
MaterialShapeDrawable Base drawable class for Material Shapes that handles shadows, elevation, scale and color for a generated path. 
RippleDrawableCompat A compat Drawable that is used to provide an overlay for pressed, focused, and hovered states (only when in enabled). 
ShapeableImageView An ImageView that draws the bitmap with the provided Shape. 
TransformationChildCard This class is deprecated. Use MaterialContainerTransform instead.  


Provides a mechanism to uniformly modify the ShapeAppearanceModel that backs a component or Drawable's shape.

Summary

Public methods

abstract ShapeAppearanceModel getShapeAppearanceModel()

Returns the ShapeAppearanceModel used for the shape definition.

abstract void setShapeAppearanceModel(ShapeAppearanceModel shapeAppearanceModel)

Sets the ShapeAppearanceModel that defines the shape.

Public methods

getShapeAppearanceModel

public abstract ShapeAppearanceModel getShapeAppearanceModel ()

Returns the ShapeAppearanceModel used for the shape definition.

This ShapeAppearanceModel can be modified to change the shape.

setShapeAppearanceModel

public abstract void setShapeAppearanceModel (ShapeAppearanceModel shapeAppearanceModel)

Sets the ShapeAppearanceModel that defines the shape.

Parameters
shapeAppearanceModel ShapeAppearanceModel