title: android, background, layer-list and scalable bitmap item
body: <p>I have the following drawable set as a background:</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;bitmap android:src="@drawable/base_bg"
      android:gravity="bottom" /&gt;
  &lt;/item&gt;
  &lt;item android:top="10dp" android:left="10dp"&gt;
    &lt;bitmap android:src="@drawable/decoration1"
      android:gravity="top|right" 
      android:width="25dp" 
      android:height="25dp"  /&gt;
  &lt;/item&gt;
  &lt;item android:top="10dp" android:left="10dp"&gt;
    &lt;bitmap android:src="@drawable/decoration2"
      android:gravity="top|right" 
      android:width="25dp" 
      android:height="25dp" 
      /&gt;
  &lt;/item&gt;
  &lt;/layer-list&gt;
  </code></pre>
  
  <p>It displays all the bitmaps (<code>base_bg</code>, <code>decoration1</code>, and <code>decoration2</code>) but I can't find a way to modify the size of them. I would like to have the main background and on top of it the decorations that will have different sizes based on the dpi. Is there a simple way to do that, or do I actually have to have a bunch of "decorations" for different dpi's? It isn't good and I would like to have the scale/resize option instead!</p>
  
  <p>The <code>android:width</code> and <code>android:height</code> attributes are something that I would like to find, but I know that it doesn't work. At the moment I am using different versions for different DPI but hoped it could be a bit more user friendly.</p>