In our android app we need to create a floating action button which isn\'t the default circle but a square with with three rounded corners. The fab looks like in the image below
With the Material Components Library you can use the shapeAppearanceOverlay:
shapeAppearanceOverlay
with: