title: How to add shadow to linear layout - android?
body: <p>In my android application I have to implement something like the image given below : 
  <a href="https://i.stack.imgur.com/1qHBo.png" rel="noreferrer"><img src="https://i.stack.imgur.com/1qHBo.png" alt="enter image description here"></a></p>
  
  <p>I have tried using shadow xmls for a linear layout but it doesn't seem to work out the way i want it to be.
  The code that I am using is : </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;layer-list xmlns:android="http://schemas.android.com/apk/res/android"&gt;
  &lt;item &gt;
      &lt;shape
          android:shape="rectangle"&gt;
          &lt;solid android:color="@android:color/darker_gray" /&gt;
          &lt;corners android:radius="5dp"/&gt;
      &lt;/shape&gt;
  &lt;/item&gt;
  &lt;item android:right="5dp" android:left="5dp" android:bottom="15dp"&gt;
      &lt;shape
          android:shape="rectangle"&gt;
          &lt;solid android:color="@android:color/white"/&gt;
          &lt;corners android:radius="5dp"/&gt;
      &lt;/shape&gt;
  &lt;/item&gt;
  &lt;/layer-list&gt;
  </code></pre>
  
  <p>Please suggest how can I achieve this.</p>