title: Resource is not a Drawable
body: <p>This code causes force close exception on Emulator(API 18) and works in ASUS Nexus 7(API 21)</p>
  <pre><code>&lt;View
      android:layout_width=&quot;400dp&quot;
      android:layout_height=&quot;2dp&quot;
      android:layout_marginTop=&quot;30dp&quot;
      android:background=&quot;@color/light_gray&quot; /&gt;
  </code></pre>
  <p>If I am replacing <code>@color/light_gray</code> with <code>#EBEBEB</code> works perfectly on both device.</p>
  <p>Exception is</p>
  <pre><code>Caused by: android.content.res.Resources$NotFoundException: Resource is not a Drawable (color or path): TypedValue{t=0x1/d=0x7f080060 a=-1 r=0x7f080060}
  </code></pre>
  <p>So I moved to drawable on following code,</p>
  <pre><code>&lt;Button
      android:layout_width=&quot;wrap_content&quot;
      android:layout_marginTop=&quot;30dp&quot;
      android:layout_height=&quot;wrap_content&quot;
      android:ems=&quot;10&quot;
      android:background=&quot;@drawable/login_btn_selector&quot;
      android:text=&quot;Login&quot;
      android:id=&quot;@+id/btnLogin&quot; /&gt;
  </code></pre>
  <p>This one throws following exception,</p>
  <pre><code> Caused by: android.content.res.Resources$NotFoundException: File res/drawable-hdpi-v4/login_btn_selected.xml from drawable resource ID #0x7f020095
  </code></pre>
  <p>So I tried to place the <code>login_btn_selected.xml</code> in  <code>res/drawable-hdpi-v4/</code> folder, Then it says duplicate file occur between <code>res/drawable-hdpi/</code> and <code>res/drawable-hdpi-v4/</code>, So I removed it from <code>res/drawable-hdpi/</code>, Then again same resource not found exception in v4 folder,</p>
  <pre><code>Caused by: android.content.res.Resources$NotFoundException: File res/drawable-hdpi-v4/login_btn_selected.xml from drawable resource ID #0x7f020095
  </code></pre>
  <p>So finally I came to <a href="https://stackoverflow.com/">SO</a>.</p>
  <p>The problem is,</p>
  <ol>
  <li><p>I want to know is this problem in emulator only or in real device too.</p>
  </li>
  <li><p>If in real device too means how can I overcome this?</p>
  <p>I want to use <code>@color/light_gray</code> instead of hard coding, Also I want to use drawable selectors.</p>
  </li>
  </ol>
  <p><strong>NOTE:</strong> I have deleted and recreated the Emulator, no use. I have tested on API 19 emulator also, same issue.</p>
  <p>Any solution will be highly appreciable.</p>