title: Drop shadow for custom imageView
body: <p>I have created a simple play icon. I imported the SVG file into Android Studio and sourced it as an imageView. However, unfortunately I was unable to bring over the drop down shadow from my Adope XD document. In either case I have been trying to replicate the drop down shadow effect via code. However I have been unsuccessful.</p>
  <p>The image on the left is what I have, the image on the right is what I need:
  <a href="https://i.stack.imgur.com/n6mod.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/n6mod.jpg" alt="enter image description here" /></a></p>
  <p>I've been messing around with existing code with no success. Here is what I have so far:</p>
  <p>imageView:</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;ImageView
      android:id="@+id/thumbnail_next"
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:layout_gravity="center_vertical"
      android:background="@drawable/background_drop_shadow"
      app:srcCompat="@drawable/ic_next_button_image_select" /&gt;</code></pre>
  </div>
  </div>
  </p>
  <p>ic_next_button_image_select (imported SVG):</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;vector xmlns:android="http://schemas.android.com/apk/res/android"
      android:width="40dp"
      android:height="38dp"
      android:viewportWidth="40"
      android:viewportHeight="38"&gt;
    &lt;path
        android:pathData="M12,0L28,0A12,12 0,0 1,40 12L40,26A12,12 0,0 1,28 38L12,38A12,12 0,0 1,0 26L0,12A12,12 0,0 1,12 0z"
        android:fillColor="#1ed760"/&gt;
    &lt;path
        android:pathData="M27.6,17.28a2,2 0,0 1,-0 3.439l-10.083,5.987A2,2 0,0 1,14.5 24.987L14.5,13.013a2,2 0,0 1,3.021 -1.72Z"
        android:fillColor="#090909"/&gt;
  &lt;/vector&gt;</code></pre>
  </div>
  </div>
  </p>
  <p>background_drop_shadow (code I found and tried to work with):</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;layer-list xmlns:android="http://schemas.android.com/apk/res/android"&gt;
      &lt;!-- Drop Shadow Stack --&gt;
      &lt;item&gt;
          &lt;shape&gt;
              &lt;padding android:top="1dp" android:right="1dp" android:bottom="1dp" android:left="1dp" /&gt;
              &lt;stroke android:color="#02000000" android:width="1dp"  /&gt;
              &lt;corners android:radius="8dp" /&gt;
          &lt;/shape&gt;
      &lt;/item&gt;
      &lt;item&gt;
          &lt;shape&gt;
              &lt;padding android:top="1dp" android:right="1dp" android:bottom="1dp" android:left="1dp" /&gt;
              &lt;stroke android:color="#05000000" android:width="1dp" /&gt;
              &lt;corners android:radius="7dp" /&gt;
          &lt;/shape&gt;
      &lt;/item&gt;
      &lt;item&gt;
          &lt;shape&gt;
              &lt;padding android:top="1dp" android:right="1dp" android:bottom="1dp" android:left="1dp" /&gt;
              &lt;stroke android:color="#10000000" android:width="1dp" /&gt;
              &lt;corners android:radius="6dp" /&gt;
          &lt;/shape&gt;
      &lt;/item&gt;
      &lt;item&gt;
          &lt;shape&gt;
              &lt;padding android:top="1dp" android:right="1dp" android:bottom="1dp" android:left="1dp" /&gt;
              &lt;stroke android:color="#15000000" android:width="1dp" /&gt;
              &lt;corners android:radius="5dp" /&gt;
          &lt;/shape&gt;
      &lt;/item&gt;
      &lt;item&gt;
          &lt;shape&gt;
              &lt;padding android:top="1dp" android:right="1dp" android:bottom="1dp" android:left="1dp" /&gt;
              &lt;stroke android:color="#20000000" android:width="1dp" /&gt;
              &lt;corners android:radius="4dp" /&gt;
          &lt;/shape&gt;
      &lt;/item&gt;
      &lt;item&gt;
          &lt;shape&gt;
              &lt;padding android:top="1dp" android:right="1dp" android:bottom="1dp" android:left="1dp" /&gt;
              &lt;stroke android:color="#25000000" android:width="1dp" /&gt;
              &lt;corners android:radius="3dp" /&gt;
          &lt;/shape&gt;
      &lt;/item&gt;
      &lt;item&gt;
          &lt;shape&gt;
              &lt;padding android:top="1dp" android:right="1dp" android:bottom="1dp" android:left="1dp" /&gt;
              &lt;stroke android:color="#30000000" android:width="1dp" /&gt;
              &lt;corners android:radius="3dp" /&gt;
          &lt;/shape&gt;
      &lt;/item&gt;
  
      &lt;!-- Background --&gt;
      &lt;item&gt;
          &lt;shape&gt;
              &lt;solid android:color="@android:color/transparent" /&gt;
              &lt;corners android:radius="3dp" /&gt;
          &lt;/shape&gt;
      &lt;/item&gt;
  &lt;/layer-list&gt;</code></pre>
  </div>
  </div>
  </p>