colors xml: “Attribute is missing the Android namespace prefix”

前端之家收集整理的这篇文章主要介绍了colors xml: “Attribute is missing the Android namespace prefix”前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

Question:

This is my colors.xml:

<?xml version="1.0" encoding="utf-8"?> <resources> <color name="white">#ffffff</color> </resources>

This gives me the following error: Attribute is missing the Android namespace prefix What can I change to make this error go away?


Solution:

<resources xmlns:android="http://schemas.android.com/apk/res/android"> >#FFFFFF</resources>
原文链接:https://www.f2er.com/xml/298439.html

猜你在找的XML相关文章