I have 3 xml views, but all of them has a view with the same name:
@+id/userNameTitle
how does the java code knows which field to edit when this line is executed?
((TextView)findViewById(R.id.userNameTitle)).setText(Data.mUserName);
according to the line in the OnCreate
?
setContentView(R.layout.myXml);