title: How to change startIconDrawable Size in TextInputLayout
body: <p>Seems like there is no XML attribute to change the startIconDrawable size in android. The icon is oversized as compared to the text.
  Here is a screenshot of the issue:</p>
  <p><a href="https://i.stack.imgur.com/l9Nuc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/l9Nuc.png" alt="enter image description here" /></a></p>
  <p>Here is my XML:</p>
  <pre><code>        &lt;LinearLayout
              android:layout_width=&quot;match_parent&quot;
              android:layout_height=&quot;wrap_content&quot;&gt;
  
              &lt;com.google.android.material.textfield.TextInputLayout
                  style=&quot;@style/textInputStyle&quot;
                  android:layout_width=&quot;match_parent&quot;
                  android:layout_height=&quot;wrap_content&quot;
                  android:hint=&quot;Enter Paypal ID&quot;
                  android:padding=&quot;5dp&quot;
                  app:endIconMode=&quot;clear_text&quot;
                  app:startIconDrawable=&quot;@drawable/ic_paypal_logo&quot;&gt;
  
                  &lt;com.google.android.material.textfield.TextInputEditText
                      android:id=&quot;@+id/et_form_question_hint&quot;
                      style=&quot;@style/textInputEditext&quot;
                      android:layout_width=&quot;match_parent&quot;
                      android:layout_height=&quot;wrap_content&quot;
                      android:inputType=&quot;textEmailAddress&quot;
                      android:paddingHorizontal=&quot;@dimen/normalPadding&quot; /&gt;
  
              &lt;/com.google.android.material.textfield.TextInputLayout&gt;
          &lt;/LinearLayout&gt;
  
  
  </code></pre>
  <p>If anyone wishes to reproduce styles are as follows:</p>
  <pre><code>&lt;style name=&quot;textInputEditext&quot; parent=&quot;FirebaseUI.TextInputEditText&quot;&gt;
          &lt;item name=&quot;maxLine&quot;&gt;1&lt;/item&gt;
          &lt;item name=&quot;android:textColor&quot;&gt;@color/colorOnSurface&lt;/item&gt;
      &lt;/style&gt;
  
  &lt;style name=&quot;textInputStyle&quot; parent=&quot;Widget.MaterialComponents.TextInputLayout.OutlinedBox&quot;&gt;
          &lt;item name=&quot;android:layout_marginBottom&quot;&gt;12dp&lt;/item&gt;
          &lt;item name=&quot;errorEnabled&quot;&gt;true&lt;/item&gt;
          &lt;item name=&quot;endIconTint&quot;&gt;@color/colorSurface&lt;/item&gt;
          &lt;item name=&quot;hintTextColor&quot;&gt;@color/colorOnSurface&lt;/item&gt;
          &lt;item name=&quot;shapeAppearance&quot;&gt;@style/Cut&lt;/item&gt;
          &lt;item name=&quot;boxStrokeColor&quot;&gt;#AA000000&lt;/item&gt;
          &lt;item name=&quot;android:textColorHint&quot;&gt;@color/colorOnSurface&lt;/item&gt;
          &lt;item name=&quot;android:textStyle&quot;&gt;bold&lt;/item&gt;
          &lt;item name=&quot;counterTextColor&quot;&gt;@color/colorOnSurface&lt;/item&gt;
          &lt;item name=&quot;android:textColor&quot;&gt;@color/colorOnSurface&lt;/item&gt;
      &lt;/style&gt;
  
  </code></pre>