Hi,

I wanted to confirm if it is okay to use the same id value for screen
elements across the screens.
I have two xml files under res/layout both of which have the same
button, called Next. Can I use the same android:id for them:

android:id="@+id/next_button"

It seems to work fine, so I am assuming that is okay but wanted to get
input from others.
In any case, what does @+id really do if the same id has been declared
elsewhere?

Thanks
Inder

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to