title: Android issue in Background Drawable with layer-list with API v16
body: <p>I am trying to achieve something like this:</p>
  
  <p><a href="https://i.stack.imgur.com/FKgy9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FKgy9.png" alt="enter image description here"></a></p>
  
  <p>The code I have created is working fine with API v21 and above but it is not working as desired. Here are snippet of codes for your reference.</p>
  
  <p>Drawable used as background for the EditText widget id (<code>drawable_edittext_username.xml</code>):</p>
  
  
  
  <pre class="lang-xml prettyprint-override"><code>file: drawable_edittext_username.xml
  &lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;layer-list xmlns:android="http://schemas.android.com/apk/res/android" 
                    android:paddingLeft="44dp" android:paddingStart="44dp"&gt;
      &lt;item android:drawable="@drawable/drawable_rounded_box"/&gt;
      &lt;item android:gravity="center_vertical|left"&gt;
          &lt;selector &gt;
              &lt;item android:drawable="@drawable/vector_icon_user_focused" 
                    android:state_focused="true"/&gt;
              &lt;item android:drawable="@drawable/vector_icon_user"/&gt;
          &lt;/selector&gt;
      &lt;/item&gt;
  &lt;/layer-list&gt;
  
  file: drawable_rounded_box.xml
  &lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;selector xmlns:android="http://schemas.android.com/apk/res/android" 
                  android:paddingLeft="44dp" 
                  android:paddingStart="44dp"&gt;
      &lt;item android:drawable="@drawable/drawable_rounded_box_focused" 
            android:state_focused="true" /&gt;
      &lt;item android:drawable="@drawable/drawable_rounded_box_normal" /&gt;
  &lt;/selector&gt;
  
  file: drawable_rounded_box_focused.xml
  &lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;shape xmlns:android="http://schemas.android.com/apk/res/android"
               android:shape="rectangle"&gt;
      &lt;stroke
          android:width="1dp"
          android:color="@color/colorPrimaryDark" /&gt;
      &lt;corners android:radius="5dp" /&gt;
      &lt;padding
          android:bottom="10dp"
          android:left="10dp"
          android:right="10dp"
          android:top="10dp" /&gt;
      &lt;solid android:color="@android:color/transparent"/&gt;
  &lt;/shape&gt;
  
  file: drawable_rounded_box_normal.xml*
  &lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;shape xmlns:android="http://schemas.android.com/apk/res/android"
               android:shape="rectangle"&gt;
      &lt;stroke
          android:width="1dp"
          android:color="#3f000000" /&gt;
      &lt;corners android:radius="5dp" /&gt;
      &lt;padding
          android:bottom="10dp"
          android:left="10dp"
          android:right="10dp"
          android:top="10dp" /&gt;
      &lt;solid android:color="@android:color/transparent"/&gt;
  &lt;/shape&gt;
  </code></pre>
  
  <p>All icons are vector icons available in drawable and drawable-v21 folders.</p>
  
  <p>In the output on v16, there is not padding and the icons are spread with no color. Here is the code for the icons:</p>
  
  <pre class="lang-xml prettyprint-override"><code>file: vector_icon_user.xml
  &lt;vector xmlns:android="http://schemas.android.com/apk/res/android"
      android:width="24dp"
      android:height="24dp"
      android:viewportHeight="24.0"
      android:viewportWidth="24.0"&gt;
      &lt;path
          android:fillColor="#3f000000"
          android:pathData="M12 14.016q2.531 0 5.273 1.102t2.742
          2.883v2.016h-16.031v-2.016q0-1.781 2.742-2.883t5.273-1.102zM12
          12q-1.641 0-2.813-1.172t-1.172-2.813 1.172-2.836 2.813-1.195
          2.813 1.195 1.172 2.836-1.172 2.813-2.813 1.172z" /&gt;
  &lt;/vector&gt;
  
  file: vector_icon_user_focused.xml
  &lt;vector xmlns:android="http://schemas.android.com/apk/res/android"
      android:width="24dp"
      android:height="24dp"
      android:viewportHeight="24.0"
      android:viewportWidth="24.0"&gt;
      &lt;path
          android:fillColor="@color/colorAccent"
          android:pathData="M12 14.016q2.531 0 5.273 1.102t2.742
          2.883v2.016h-16.031v-2.016q0-1.781 2.742-2.883t5.273-1.102zM12
          12q-1.641 0-2.813-1.172t-1.172-2.813 1.172-2.836 2.813-1.195
          2.813 1.195 1.172 2.836-1.172 2.813-2.813 1.172z" /&gt;
  &lt;/vector&gt;
  </code></pre>
  
  <p>finally here the the output on API v16:</p>
  
  <p><a href="https://i.stack.imgur.com/PRjF4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PRjF4.png" alt="enter image description here"></a></p>
  
  <p>Please help me understand, what I am doing wrong and what is the right approach to achieve the same.</p>