目录
如图,我们已经修改按钮的背景颜色
使用另一个属性
android:backgroundTint="@color/black"
可以看到颜色发生了改变
修改主题
这个主题让我们无法使用android:background
将主题改为
Theme.AppCompat.DayNight.DarkActionBar
如图修改完成
目录
如图,我们已经修改按钮的背景颜色
android:backgroundTint="@color/black"
可以看到颜色发生了改变
这个主题让我们无法使用android:background
将主题改为
Theme.AppCompat.DayNight.DarkActionBar
如图修改完成