title: How to add a drop shadow effect to a circular ImageView in Android?
body: <p>I have an ImageView in my layout which is circular. I want to have a shadow effect to the ImageView1.Can anyone tell me how can I do this? My codes are as follows:</p>
  
  <p>main.xml</p>
  
  <pre><code>    &lt;ImageView
          android:id="@+id/imageView1"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_alignBottom="@+id/view88"
          android:layout_alignParentLeft="true"
          android:src="@drawable/hh" /&gt;
  </code></pre>
  
  <p>hh.xml in drawable folder</p>
  
  <pre><code>   &lt;?xml version="1.0" encoding="utf-8"?&gt;
      &lt;shape xmlns:android="http://schemas.android.com/apk/res/android"
        android:shape="ring"
        android:innerRadiusRatio="3"
        android:thickness="10dp"
  
         android:useLevel="false"&gt;
     &lt;solid android:color="#FFFFFF" /&gt;
     &lt;stroke android:width="5dp" android:color="#FFFFFF" /&gt;
     &lt;gradient
        android:centerColor="@android:color/darker_gray" 
        android:endColor="@android:color/darker_gray" 
        android:startColor="@android:color/darker_gray"  /&gt;
      &lt;size  android:height="140dp"
          android:width="120dp" /&gt;
   &lt;/shape&gt;
  </code></pre>