android 自定义悬浮按钮颜色 如题。 android悬浮按钮默认的颜色是主题的强调色(color accent),如果改变颜色,需要设置app:backgroundTint属性,如下: <com.google.android.material.floatingactionbutton.FloatingActionButton android:layout_width="wrap_content" android:layout_height="wrap_content"