<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android"
          android:enterFadeDuration="@android:integer/config_mediumAnimTime"
          android:exitFadeDuration="@android:integer/config_mediumAnimTime">
    <item android:drawable="@drawable/fab_background_highlighted" android:state_pressed="true"/>
    <item android:drawable="@drawable/fab_background_highlighted" android:state_focused="true"/>
    <item>
        <shape android:shape="oval">
            <solid android:color="@color/color_accent"/>
        </shape>
    </item>
</selector>
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:drawable="@drawable/fab_background_highlighted" android:state_pressed="true"/>
    <item android:drawable="@drawable/fab_background_highlighted" android:state_focused="true"/>
    <item>
        <shape android:shape="oval">
            <solid android:color="@color/color_accent"/>
        </shape>
    </item>
</selector>
Disable compatibility Floating Action Button selector transition animation to avoid background crossfading issue.
Disable compatibility Floating Action Button selector transition animation to avoid background crossfading issue.
