📜  矢量图标颜色始终为黑色 - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:21.304000             🧑  作者: Mango

代码示例1
you are trying to add a icon that has different colours to a FAB?
When doing that, make sure you add app:tint="@null". In your case the xml should look like this: