title: Rotating FloatingActionButton
body: <p>I believe most of you all have seen the rotating FloatingActionButton in apps such as Google keep, push bullet and even Google inbox app. I am trying to achieve this rotation by having an animation file that is : </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;rotate
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:fromDegrees="0"
  android:toDegrees="135"
  android:pivotX="50%"
  android:pivotY="50%"
  android:repeatCount="0"
  android:fillAfter="true"
  android:fillEnabled="true"
  android:duration="100" /&gt;
  </code></pre>
  
  <p>Right now I am using makovkastar library to do this FAB button. However, when I set the FAB to rotate, the shadow rotates along with the FAB button. </p>
  
  <p>Is there any way to just animate the drawable inside the FAB button?? </p>
  
  <p>This is how I set my animation </p>
  
  <pre><code>  Animation anim = AnimationUtils.loadAnimation(MainActivity.this, R.anim.rotate);
    fab.startAnimation(anim);
  </code></pre>