title: How do I implement this Material Design 2.0 button shape?
body: <p>I would like to achieve the button shape looking like the one in Material Components example </p>
  
  <p><img src="https://i.imgur.com/YWHrO8f.png" alt="example"></p>
  
  <p>What I already tried to do is setting custom style for the button like this </p>
  
  <pre><code>    &lt;style name="ButtonAddLeft" parent="Widget.MaterialComponents.Button.Icon"&gt;
          &lt;item name="backgroundTint"&gt;@color/secondary&lt;/item&gt;
          &lt;item name="android:textColor"&gt;@color/primary&lt;/item&gt;
          &lt;item name="shapeAppearance"&gt;@style/ButtonAddLeftShape&lt;/item&gt;
      &lt;/style&gt;
  
      &lt;style name="ButtonAddLeftShape"&gt;
          &lt;item name="cornerFamilyTopLeft"&gt;cut&lt;/item&gt;
          &lt;item name="cornerFamilyBottomLeft"&gt;cut&lt;/item&gt;
          &lt;item name="cornerSize"&gt;12dp&lt;/item&gt;
      &lt;/style&gt;
  </code></pre>
  
  <p>But this does not look like the one from the example, regardless of how I set the cornerSize.</p>