Can someone clarify the difference between android:id, android:name and name tags in Android's XML files. They all seem to be ways to reference things.

For example, when I have a string array in the res/values/array.xml file I access using the name field in the defined array yet the Javadoc refers to this as the "ID".

android:id seems to be just used in Views ?

Am I missing something or would it not be simpler to have one tag?

Edit
Report