In a related matter,
How can i change a XML-defined layout in code? Lets assume that i have a layout in main.xml really cool an complex. And the i wanna change the text of one of the TextView in that layout. I can do :
mView = (View) mView.findViewById(R.layout.main);
mText = (TextView) mText.findViewById(R.id.text);
but, after changing mText, how can in 'merge' it with mView so i can define a new view? Even if i have to launch a new activity, i still need to create a new View from these changes to then apply on setContentView.
Any ideas? Thanks