title: round corners with repeated background image in the same button android
body: <p>is there any way to have a background image in a button and corners of this button are rounded</p>
  
  <p>because according all exampls I saw, the property in which we set a bakground image is the same in which we can set an xml file to make round corners</p>
  
  <p>then is it possible to round up both in same button knowing that the image background must be repeated </p>
  
  <p>here is my code to make round corner : </p>
  
  <pre><code>    &lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;shape xmlns:android="http://schemas.android.com/apk/res/android"&gt;
      &lt;solid android:color="#FFFFFF" /&gt;    
      &lt;stroke android:width="3dip" android:color="#B1BCBE" /&gt;
      &lt;corners android:radius="10dip"/&gt;
      &lt;padding android:left="0dip" android:top="0dip" android:right="0dip" android:bottom="0dip" /&gt;
  &lt;/shape&gt;
  </code></pre>
  
  <p>and here is the code to have a background image repeated : </p>
  
  <pre><code>    &lt;bitmap
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:src="@drawable/backtemplate"
  android:tileMode="repeat"
  android:dither="true" /&gt;
  </code></pre>
  
  <p>I want to round up those two file into one button to have a round corners button with repeated background image </p>