title: Using drawable resources
body: <p>I have this problem, see the trace stack: </p>
  
  <pre><code>E/AndroidRuntime(2410): Caused by: org.xmlpull.v1.XmlPullParserException: Binary XML file line #5: &lt;bitmap&gt; requires a valid src attribute
  </code></pre>
  
  <p>My xml file looks like:</p>
  
  <pre><code>&lt;layer-list xmlns:android="http://schemas.android.com/apk/res/android" &gt;
      &lt;item&gt;
          &lt;bitmap android:src="@drawable/btn_1"/&gt;
      &lt;/item&gt;
  &lt;/layer-list&gt;
  </code></pre>
  
  <p>btn_1 is another xml file in drawable resources
  When i'm using an image(*.png) instead of xml drawable it's ok.</p>
  
  <p>Can I use a drawable resource as src to bitmap?
  Just in case here is my btn_1.xml file. It doesn't work even if btn_1 file have no items.</p>
  
  <pre><code>&lt;layer-list xmlns:android="http://schemas.android.com/apk/res/android" &gt;
  &lt;item android:drawable="@drawable/btn_arrow_bg_red"/&gt;
  &lt;item&gt;
      &lt;bitmap
          android:gravity="center"
          android:src="@drawable/btn_arrow_white" /&gt;
  &lt;/item&gt;
  &lt;/layer-list&gt;
  </code></pre>