title: How can I make available the XML file which is in drawable folder for custom button in my application?
body: <p>I have created one xml under drawable like following but couldn't understand how can I make this available to my application?</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;gradient
          android:startColor="#302226"
          android:endColor="#6D7B8D"
          android:angle="45"/&gt;
      &lt;padding android:left="6dp"
          android:top="6dp"
          android:right="6dp"
          android:bottom="6dp" /&gt;
      &lt;corners android:radius="20dp" /&gt;
  
  &lt;/shape&gt;
  </code></pre>