title: 9patch image as background in a LinearLayout
body: <p>I have used a 9patch image as background in the Linear Layout. There was no border at all for the image. But when i used it as a background image and debugged the app, there is a white border for the image. Why is it showing the border ? There is nothing wrong with 9patch image when i use it for the button background. I can't understand what exactly the problem is.</p>
  
  <p>My layout:</p>
  
  <pre><code>    &lt;LinearLayout
          xmlns:android="schemas.android.com/apk/res/android";  
          android:layout_width="match_parent"
          android:layout_height="match_parent"  
          android:background="@drawable/mehndibg"
          android:orientation="vertical"
          &gt;  
          &lt;Button
              android:id="@+id/btnDesign"
              android:layout_marginTop="220sp"  
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"   
              android:layout_marginLeft="180sp"
              android:background="@drawable/btndesigns"
          /&gt;  
      &lt;LinearLayout&gt;
  </code></pre>
  
  <p>The 9patch image is mehndibg.</p>