I\'ve read through much of the Android documentation and I\'ve yet to find any statement that says what an id value prefix of \"@+id\" means. I know what \"@string\" and variat
That's the syntax for linking an Android XML layout element to your Java code. So if I want to display text in a TextView, I have to do this.
Step one - define the layout
Then, in code, I use @+id to link the layout to the variable. Think of the @+id as a foreign key in a database.
TextView lblSaveResult = (TextView)findViewById(R.id.SaveResult);
Now, it's ready for use. When I assign text, it uses the @+id to see where to put it, and also the color, size, etc..
lblSaveResult.setText("This text is now on the screen");
Sorry, but I don't know where the documentation is for this...