title: How I can align icon next to text of MaterialButton with defined padding?
body: <p>Hello I ran into problem with aligning icon in material button on Android. I have button with <code>match_parent</code> width, text and icon next to text. I want to align icon <code>8dp</code> left to text and I tried do it by <code>com.google.android.material.button.MaterialButton</code> <code>app:iconGravity</code>. But result was not as expected.</p>
  
  <p><a href="https://i.stack.imgur.com/f5oto.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/f5oto.png" alt="bad aligned icons image"></a></p>
  
  <p>As you can see, with longer text, icon padding is smaller and smaller. I also tried define <code>app:iconPadding</code> (default is <code>8dp</code>) but with same result.</p>
  
  <p>Is this bug or I'm doing it wrong? </p>
  
  <p>Layout:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:orientation="vertical"
      android:padding="16dp"&gt;
  
      &lt;com.google.android.material.button.MaterialButton
          style="@style/MaterialButton"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          app:icon="@drawable/ic_launcher"
          app:iconGravity="textStart"
          tools:text="L" /&gt;
  
      &lt;com.google.android.material.button.MaterialButton
          style="@style/MaterialButton"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          app:icon="@drawable/ic_launcher"
          app:iconGravity="textStart"
          tools:text="Lorem ipsum" /&gt;
  
      &lt;com.google.android.material.button.MaterialButton
          style="@style/MaterialButton"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          app:icon="@drawable/ic_launcher"
          app:iconGravity="textStart"
          tools:text="Lorem ipsum dolor sit amet" /&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>Style:</p>
  
  <pre><code>&lt;style name="MaterialButton" parent="Widget.MaterialComponents.Button"&gt;
      &lt;item name="android:textColor"&gt;@color/white&lt;/item&gt;
      &lt;item name="android:textAppearance"&gt;@style/TextTitleAllCapsBold&lt;/item&gt;
      &lt;item name="android:fontFamily"&gt;@font/roboto_condensed_regular&lt;/item&gt;
      &lt;item name="android:padding"&gt;@dimen/padding_medium&lt;/item&gt;
      &lt;item name="backgroundTint"&gt;@color/colorPrimary&lt;/item&gt;
      &lt;item name="iconSize"&gt;32dp&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>Using <code>implementation 'com.google.android.material:material:1.0.0'</code></p>