Why does most of the XML attributes start with android:?
It seems like a great waste of typing…
Why does most of the XML attributes start with android:? It seems like a
Share
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.
That’s just the XML namespace for all android related tags/attributes that you define in the root elements of your XML files.
If you don’t want to type that much, you can change
to
This allows you to use elements in a way like
Instead of a you can use any other name/letter combo too.