title: how to create a button with shadow
body: <p>How to create such button with shadow:</p>
  
  <p><img src="https://i.stack.imgur.com/rE2j6.png" alt="enter image description here"></p>
  
  <p>I don't know how to modify this button drawable:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
   &lt;selector xmlns:android="http://schemas.android.com/apk/res/android" &gt;
  &lt;item &gt;
      &lt;shape android:shape="rectangle"&gt;
          &lt;gradient android:angle="90" android:startColor="#0F9D58" android:endColor="#0F9D58" /&gt;
          &lt;stroke android:width="1dp" android:color="#BABABA" /&gt;
          &lt;corners android:radius="4dp" /&gt;
          &lt;padding android:bottom="10dp"  android:top="10dp" android:left="20dp" android:right="20dp" /&gt;
      &lt;/shape&gt;
  &lt;/item&gt;
  </code></pre>
  
  <p></p>
  
  <p>Thanks!</p>
  
  <p>UPDATE. Finally , the code should be as follows:</p>
  
  <pre><code>&lt;selector xmlns:android="http://schemas.android.com/apk/res/android"&gt;
  &lt;item&gt;
      &lt;layer-list&gt;
          &lt;item android:left="5dp" android:right="5dp" android:top="5dp"&gt;
              &lt;shape&gt;
                  &lt;corners android:radius="3dp" /&gt;
                  &lt;solid android:color="#0F4858" /&gt;
              &lt;/shape&gt;
          &lt;/item&gt;
          &lt;item android:bottom="2dp" android:left="0dp" android:right="0dp"&gt;
              &lt;shape&gt;
                  &lt;gradient android:angle="270"
                            android:endColor="#0F9D58" android:startColor="#0F9D58" /&gt;
                  &lt;padding android:bottom="10dp" android:left="10dp"
                           android:right="10dp" android:top="10dp" /&gt;
              &lt;/shape&gt;
          &lt;/item&gt;
      &lt;/layer-list&gt;
  &lt;/item&gt;
  &lt;/selector&gt;
  </code></pre>