【发布时间】:2021-10-07 06:44:41
【问题描述】:
这是我的 FloatingActionButton
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:backgroundTint="@color/white"
android:focusable="true"
android:src="@drawable/ic_camera_24"
android:tint="@color/green"
app:fabSize="mini"
app:rippleColor="@color/green" />
我尝试在布局 ic_camera_24.xml 中更改颜色,但仍然无法正常工作,我该如何解决?
祝大家有美好的一天!
【问题讨论】: