我想更改 styles.xml 中 textColorPrimary
属性中文本的颜色
<item name="textColorPrimary">#FFEB3B</item>
Error:error: style attribute 'attr/textColorPrimary (aka com.example.android.christmasgifts:attr/textColorPrimary)' not found.
下面是完整的错误
最佳答案
我遇到了同样的问题。 错误:错误:未找到样式属性“attr/textColorPrimary(又名 ...../textColorPrimary)”。
有关设计的全部信息都在 values.xml 中。
我从 textColorPrimary 更改为 android:textColorPrimary 并且现在可以使用了。 :)
关于android - 找不到样式属性 textColorPrimary,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47574268/