title: Android Color Selector not working on Android 4
body: <p>I have a defined Drawable Resource(res/drawable/<em>.xml) which contains defined Color Resources (res/color/</em>.xml). Color resources contains of state selector.</p>
  
  <p>In Android 5+ everything works properly, Color State Selector works properly. But on Android 4 it's not working. Why this is caused ? How to fix it ?</p>
  
  <p><strong>Layout:</strong></p>
  
  <pre><code>&lt;Button
      android:background="@drawable/btn_login"
  </code></pre>
  
  <p><strong>drawable/btn_login.xml</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;layer-list xmlns:android="http://schemas.android.com/apk/res/android"&gt;
      &lt;item&gt;
          &lt;shape android:shape="rectangle"&gt;
              &lt;stroke
                  android:width="@dimen/login_button_border"
                  android:color="@color/btn_login_border" /&gt;
              &lt;solid android:color="@color/btn_login_background" /&gt;
          &lt;/shape&gt;
      &lt;/item&gt;
      &lt;item android:bottom="@dimen/login_button_border"&gt;
          &lt;shape android:shape="rectangle"&gt;
              &lt;stroke
                  android:width="@dimen/login_button_border"
                  android:color="@color/btn_login_background" /&gt;
              &lt;solid android:color="@android:color/transparent" /&gt;
          &lt;/shape&gt;
      &lt;/item&gt;
  &lt;/layer-list&gt;
  </code></pre>
  
  <p><strong>color/btn_login_border.xml</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;selector xmlns:android="http://schemas.android.com/apk/res/android"&gt;
      &lt;item android:color="@color/login_border_highlighted" android:state_pressed="true"/&gt;
      &lt;item android:color="@color/login_border"/&gt;
  &lt;/selector&gt;
  </code></pre>
  
  <p><strong>color/btn_login_background.xml</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;selector xmlns:android="http://schemas.android.com/apk/res/android"&gt;
      &lt;item android:color="@color/login_button_highlighted" android:state_pressed="true"/&gt;
      &lt;item android:color="@color/login_button"/&gt;
  &lt;/selector&gt;
  </code></pre>