title: DrawableTop not showing drawable
body: <p>I am trying to use drawableTop to show a picture above a text in a button.</p>
  
  <p>My picture is from sdcard, not a drawable.</p>
  
  <p>Also, the size of the button may change depending on how many buttons are show. More buttons, smaller buttons, then, smaller images.</p>
  
  <p>Here is how I create my buttons:</p>
  
  <pre><code>btn = (Button) LayoutInflater.from(
                              getBaseContext()).inflate(
                              R.layout.buttonstyle, l1, false);
  </code></pre>
  
  <p>Here is the XML file buttonstyle:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
          &lt;Button   xmlns:android="http://schemas.android.com/apk/res/android" 
              android:background="@drawable/roundcorners" 
              android:id="@+id/buttonTest" 
              android:scaleType="centerInside"
              android:cropToPadding="false"
              android:paddingLeft="5dp"
              android:paddingRight="5dp"
              android:paddingBottom="10dip"
              android:layout_height="fill_parent" 
              android:layout_width="wrap_content"
              android:text="Test text"
              android:textSize="40dip"
              android:textStyle="bold"
              android:textColor="#000000"&gt;
          &lt;/Button&gt;
  </code></pre>
  
  <p>And here is how I create the drawableTop:</p>
  
  <pre><code>Drawable drawableTop = Drawable.createFromPath(endImagemVoltar); 
  btn.setCompoundDrawables(null, drawableTop, null, null);
  </code></pre>
  
  <p>The text is shown in the button, but the image doesn't appear.</p>
  
  <p>Where is the error?</p>
  
  <p>Any help is appreciated!</p>