I am new to Android development. Is it fine to use the same ID for images and TextViews
in different Layout
XML files?
When eclipse auto-li
According to developer API guides:
An ID need not be unique throughout the entire tree, but it should be unique within the part of the tree you are searching (which may often be the entire tree, so it's best to be completely unique when possible).
So the short answer is that it's not mandatory but it's a good practice to avoid possible conflicts.