I am trying to set the background of a FAB to a different color in XML. I know I could do this in code, but that would also require a lot of inconvenient refactoring on my part.
<android.support.design.widget.FloatingActionButton
android:layout_width="40dp"
android:layout_height="40dp"
android:background="#F38E1B"
android:id="@+id/fab"/>
For some reason, the background stays blue when it should be orange. I have tried setting the background to a drawable as well but that yields the same results.
Is this a bug or am I just missing something?