I am trying to create a button with an icon in the center. The top and bottom part of the circle are a little flat. Is there a way to do this without using corner radius? Here i
You can use the app:shapeAppearanceOverlay attribute to define the corner size. You can use the 50% value.
app:shapeAppearanceOverlay
50%
with:
or with the style="@style/Widget.MaterialComponents.Button.Icon"
style="@style/Widget.MaterialComponents.Button.Icon"
It requires the version 1.1.0.