title: Adding a colored shadow to a Button
body: <p>I need to add a shadow to a Button with these attributes &quot;from zeplin&quot;:</p>
  <p><a href="https://i.stack.imgur.com/ARn3F.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ARn3F.png" alt="enter image description here" /></a></p>
  <p>and this is the design</p>
  <p><a href="https://i.stack.imgur.com/kd1UQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kd1UQ.png" alt="enter image description here" /></a></p>
  <p>I tried this code</p>
  <pre><code>&lt;Button
          android:id=&quot;@+id/btn_sign_in&quot;
          android:layout_width=&quot;match_parent&quot;
          android:layout_height=&quot;48dp&quot;
          android:layout_marginTop=&quot;35dp&quot;
          android:background=&quot;@drawable/auth_button_shape&quot;
          android:shadowColor=&quot;#41ff4800&quot;
          android:shadowDx=&quot;0&quot;
          android:shadowDy=&quot;8&quot;
          android:text=&quot;@string/sign_in&quot;
          android:textAllCaps=&quot;true&quot;
          android:textColor=&quot;@android:color/white&quot;
          android:textSize=&quot;14sp&quot; /&gt;
  </code></pre>
  <p>auth_button_shape</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
  &lt;shape xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
  android:shape=&quot;rectangle&quot;&gt;
  &lt;solid android:color=&quot;#ff7c44&quot; /&gt;
  &lt;corners android:radius=&quot;100dp&quot; /&gt;
  &lt;/shape&gt;
  </code></pre>
  <p>But not worked and the other attributes &quot;Blur&quot; and &quot;Spread&quot; How I can set them for the button.</p>
  <p>Thanks.</p>