title: How to add a drop shadow to a Rectangular Shape in Android
body: <p>I am developing an Android App in which I need to use a Rectangular shape which should have a drop_shadow. I have designed a rectangular shape but somehow i am not able to add a drop shadow to it on (right and left sides).
  P.S.: this rectangular shape is added as a background attribute.</p>
  
  <p>If this type of Question is already been answered then please provide the links here.</p>
  
  <p>THANK YOU IN ADVANCE!!!!</p>
  
  <p><img src="https://i.stack.imgur.com/ytP1P.jpg" alt="enter image description here"></p>
  
  <p>Code: </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="1dp"
          android:color="#000000" /&gt;
      &lt;corners
          android:radius="10dp"   &gt;
      &lt;/corners&gt;
  
  &lt;/shape&gt;
  </code></pre>