• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Understanding xml properties

mvmd

Lurker
So I'm obviously new to developing for droid, as well as Java, and as I'm following along through tutorials I see in the xml for a textview for example:

HTML:
android:id="@+id/label"

What I'm wondering about, is there a specific reason there's a '+' infront of id?
 
The + is there to add the id to the auto generated R file. If you take the + away, you would have to manually go into the auto generated file(you hear it sounds bad) and add it yourself.
 
Back
Top Bottom