title: Android: 9-patch image not stretching as expected
body: <p>The actual image is this:</p>
  
  <p>the red boxex are where i made 1 px black likes. Even the preview shows fine. So no problem with 9-patch</p>
  
  <p>but the image i get for the following layout is:</p>
  
  <pre><code>&lt;ImageView
      android:id="@+id/image_landing"
      android:layout_width="fill_parent"
      android:layout_height="50dp"
      android:background="@drawable/loginheader"
      android:contentDescription="@string/login_header"
       /&gt;
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/Oe2EI.png" alt="enter image description here"></p>
  
  <p>I Expected, the logo to be on the left and black dots on the right and the rest of the space between them is filled with grey color i selected on the top</p>
  
  <p>Thank You</p>