title: How to make Floating Action Button background Gradient?
body: <p><strong>The code for FAB:</strong></p>
  
  <pre><code>&lt;android.support.design.widget.FloatingActionButton
          android:id="@+id/fab"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_gravity="bottom|right|end"
          android:layout_margin="16dp"
          android:src="@drawable/add_chat"
          android:tint="@android:color/white" /&gt;
  &lt;/android.support.design.widget.CoordinatorLayout&gt;
  </code></pre>
  
  <p><strong>The code for gradient background:</strong></p>
  
  <pre><code>&lt;shape xmlns:android="http://schemas.android.com/apk/res/android" 
  android:shape="oval"&gt;
  &lt;gradient
      android:angle="90"
      android:endColor="#e4849f"
      android:startColor="#d96e30" /&gt;
  &lt;/shape&gt;
  </code></pre>
  
  <p>android:backgroundTint="" or app:backgroundTint="" both uses color resources only.Can anyone suggest how to do this?
  Thanks !!</p>