title: Different size of Drawable when loaded as background from /drawable-hdpi instead of /drawable
body: <p>I moved 9-patch files from <code>/drawable</code> to <code>/drawable-hdpi</code> because the error log recommended to use <code>drawable-*</code> to offer density optimized images.</p>
  
  <p>The problem is, that the <code>AppWidget</code> now looks different. When <code>Drawables</code> are stored in <code>/drawable-hdpi</code> the border is thicker.</p>
  
  <p>For more information compare the attached screenshots. What is the reason for this difference?</p>
  
  <p><strong>Screenshot</strong></p>
  
  <p><img src="https://i.stack.imgur.com/kbLpd.png" alt="enter image description here"></p>
  
  <p><strong>Layout</strong></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:id="@+id/widget_parent"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:background="@drawable/widget_bg" &gt;
  
      &lt;TextView
          android:id="@+id/textView1"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_centerHorizontal="true"
          android:layout_centerVertical="true"
          android:text="@string/widget_loading"
          android:textAppearance="?android:attr/textAppearanceMedium" /&gt;
  
      &lt;ProgressBar
          style="?android:attr/progressBarStyleSmall"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_centerVertical="true"
          android:layout_marginRight="4dp"
          android:layout_toLeftOf="@+id/textView1" /&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p><strong>Drawable</strong> <code>@drawable/widget_bg_default</code></p>
  
  <p><img src="https://i.stack.imgur.com/7b7Xm.png" alt="enter image description here"></p>
  
  <p><strong>widget_bg</strong> (stored in <code>/drawables</code>)</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;selector xmlns:android="http://schemas.android.com/apk/res/android"&gt;
  
      &lt;item android:drawable="@drawable/widget_bg_default" android:state_focused="false" android:state_pressed="false" android:state_selected="false"/&gt;
      &lt;item android:drawable="@drawable/widget_bg_pressed" android:state_pressed="true"/&gt;
      &lt;item android:drawable="@drawable/ic_launcher" android:state_selected="true"/&gt;
      &lt;item android:drawable="@drawable/widget_bg_focused" android:state_focused="true"/&gt;
  
  &lt;/selector&gt;
  </code></pre>