title: Button Corners Rounded Background Image
body: <p>I want to create Button with background.png and rounded corners. How to do this?</p>
  
  <p>I wrote this code on MainActivity:</p>
  
  <pre><code>&lt;Button 
      android:layout_width="match_parent"
      android:layout_height="40dip"
      android:text="LOGIN TO THE GAME"
      android:textColor="#ffffff"
      android:background="@drawable/button_corners" /&gt;
  </code></pre>
  
  <p>And i create file 'button_corners.xml' which contain:</p>
  
  <pre><code>    &lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;shape
      xmlns:android="http://schemas.android.com/apk/res/android"
      android:shape="rectangle" &gt;
  
      &lt;corners
          android:radius="10dip" /&gt;
  
      &lt;stroke
          android:width="0.5dp"
          android:color="#000000" /&gt;
  
  &lt;/shape&gt;
  </code></pre>
  
  <p>And now how to add background-image to this button? Help!</p>