设置android.R.styleable.Theme\u textColorDim的RBG值
您能告诉我如何设置android.R.styleable.Theme\u textColorDim的RBG值吗 对于我的android应用程序 多谢各位 我已将此styles.xml文件添加到我的项目中:设置android.R.styleable.Theme\u textColorDim的RBG值,android,Android,您能告诉我如何设置android.R.styleable.Theme\u textColorDim的RBG值吗 对于我的android应用程序 多谢各位 我已将此styles.xml文件添加到我的项目中: <?xml version="1.0" encoding="utf-8"?> resources> <style name="ApplicationStyle" parent="android:Theme"> <item name="android:te
<?xml version="1.0" encoding="utf-8"?>
resources>
<style name="ApplicationStyle" parent="android:Theme">
<item name="android:textColorDim">#00ff00</item>
</style>
</resources>
但是当我编译它时,我得到了这个错误:
res/values/styles.xml:19:错误:
错误:未找到匹配的资源
名称:attr
“android:textColorDim”
那么如何设置textColorDim呢?您可以创建一个覆盖中某个textColorXX属性的主题,然后将该主题应用于您的活动甚至整个应用程序
这些链接可能会有帮助: