title: Ugly nine-patches, not scaling right
body: <p>A made some nine-patches for my buttons in Android but they scale in an ulgy way. The weird thing is that they are only ugly in one specific Android project.</p>
  
  <p><img src="https://i.stack.imgur.com/a4jQD.png" alt="enter image description here"></p>
  
  <p>I have no idea what cause the nine-patch to scale bad. This is the XML used in the badly scaled project, it is the same in the good scaled project.</p>
  
  <pre><code>&lt;Button
      android:id="@+id/issueShare"
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"
      android:layout_weight="1"
      android:layout_marginLeft="5sp"
      android:layout_marginRight="5sp"
      android:background="@drawable/button"
      android:text="Delen" /&gt;
  </code></pre>