title: What's the issue with this 9-png , showing black borders?
body: <p><img src="https://i.stack.imgur.com/pwGFf.png" alt="enter image description here">     </p>
  
  <p>I have been struggling for a week to run this nine patch image by adding patches to it with all case but it doesn't work , I can't figure out why ? Any suggestions are highly appreciated.</p>
  
  <p>It shouldn't show black lines when I am using it. </p>
  
  <p>This is the layout code where I use this image ,</p>
  
  <pre><code>                    &lt;Button
                      android:id="@+id/answerA"
                      android:layout_width="fill_parent"
                      android:layout_height="match_parent"
                      android:layout_marginRight="2dp"
                      android:layout_weight="1"
                      android:background="@drawable/d_grey"
                      android:gravity="center"
                      android:onClick="AnswerCheck" /&gt;
  </code></pre>
  
  <p>--Edit-- </p>
  
  <p>As suggested in an answer I opened this image in ninepatch tool and below is the screenshot for the same, </p>
  
  <p><img src="https://i.stack.imgur.com/drJYh.png" alt="enter image description here"></p>