title: Android how to make custom drawable shape
body: <p>Hi I want to draw a custom shape in xml like below. How can I draw following shape in android?</p>
  <p><a href="https://i.stack.imgur.com/ePRV9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ePRV9.png" alt="How to draw a consultation fee shape in android using xml" /></a></p>
  <p>square shape.xml:</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
  &lt;shape xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;&gt;
      &lt;solid android:color=&quot;#ffffffff&quot;/&gt;
  
      &lt;stroke android:width=&quot;3dp&quot;
          android:color=&quot;@color/white&quot;
          /&gt;
  
      &lt;padding android:left=&quot;1dp&quot;
          android:top=&quot;1dp&quot;
          android:right=&quot;1dp&quot;
          android:bottom=&quot;1dp&quot;
          /&gt;
  
      &lt;corners android:radius=&quot;1dp&quot;
          android:bottomRightRadius=&quot;1dp&quot; android:bottomLeftRadius=&quot;1dp&quot;
          android:topLeftRadius=&quot;1dp&quot; android:topRightRadius=&quot;1dp&quot;/&gt;
  &lt;/shape&gt;
  </code></pre>