Regarding Android Xmlns
When we develop layouts in Android all the xml files begin with xmlns:android='http://schemas.android.com/apk/res/android' What does this do and why for developing application my
Solution 1:
xmlns is xml name space
The namespace is defined by the xmlns attribute in the start tag of an element. The namespace declaration has the following syntax. xmlns:prefix="URI".
xmlns:android
Defines the Android namespace. This attribute should always be set to "http://schemas.android.com/apk/res/android".
http://www.w3schools.com/xml/xml_namespaces.asp
Here's a list of similar question's
What does "xmlns" in XML mean?
Solution 2:
It is just like defining a namespace in C++,
A good explanation can be found here:
Post a Comment for "Regarding Android Xmlns"