I have a newbie android question:
Why arent strings and other resources like colors (defined in res/values directory) defined in android namespace by assigning the attribute
xmlns:android=”http://schemas……” to the tag?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I don’t know if there is a “why” about it, but I imagine the best answer is that these XML files are so simple that a schema adds little value. On the one hand it would help editors find errors automatically; on the other hand it’s a little more work for developers and the Android maintainers.