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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.