title: Scale a drawable resource in XML (Android)
body: <p>I'm trying to scale a drawable to the double of its original size.I'm trying to use this: <a href="http://developer.android.com/guide/topics/resources/drawable-resource.html#Scale" rel="noreferrer">Drawable Resouces</a>. My current code is:</p>
  
  <p><strong>Drawable:</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;scale xmlns:android="http://schemas.android.com/apk/res/android"
      android:drawable="@drawable/ic_launcher"
      android:scaleHeight="80%"
      android:scaleWidth="80%" &gt;
  
  &lt;/scale&gt;
  </code></pre>
  
  <p><strong>Layout:</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:orientation="vertical" &gt;
  
      &lt;ImageView
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:src="@drawable/ic_launcher" /&gt;
  
      &lt;ImageView
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:src="@drawable/scale2" /&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>But nothing is shown in the second ImageView. How can I fix it?</p>