title: Add drop shadow effects to EditText Field
body: <p>I am trying to design an <strong>EditText Field</strong> having Shadows (bottom and right side) like this</p>
  
  <p><img src="https://i.stack.imgur.com/1KxUZ.jpg" alt="enter image description here"></p>
  
  <p>tried googling &amp; hunted many SO discussions but all are for TextView not EditText.</p>
  
  <p>This is my code adding shadow to Input Text but not to TextField</p>
  
  <pre><code>&lt;EditText android:id="@+id/txtpin" 
          android:maxLength="4" 
          android:layout_marginLeft="10dp" 
          android:layout_height="37dp" 
          android:gravity="center_horizontal" 
          android:inputType="textPassword" 
          android:longClickable="false" 
          android:layout_width="160dp" 
  
          android:shadowColor="@color/Black"
          android:shadowDx="1.2"
          android:shadowDy="1.2"
          android:shadowRadius="1.5" 
  
          android:background="@color/White"&gt;
              &lt;requestFocus&gt;&lt;/requestFocus&gt;
          &lt;/EditText&gt;
  </code></pre>
  
  <hr>
  
  <p>I guess it needs some custom xml view in drawable but not getting exact idea.
  What will be the logic to achieve this.</p>
  
  <p>Any help would be appreciated.</p>