I am able to change the color of the FAB but I couldn't change the color of the text. The icon that I am using is white but it is shown as black. Please see my xml
 <com.google.android.material.floatingactionbutton.FloatingActionButton
            android:id="@+id/fab"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="bottom|end"
            android:layout_margin="@dimen/fab_margin"
            android:layout_marginBottom="16dp"
            app:layout_constraintBottom_toBottomOf="parent"
            app:layout_constraintEnd_toEndOf="parent"
            app:layout_constraintHorizontal_bias="0.954"
            app:layout_constraintStart_toStartOf="parent"
            android:backgroundTint="@color/blue"
            app:srcCompat="@drawable/ic_time"
            android:tint="@android:color/white" />

 
    