i just wanted to acces the second textView tag in my program. how can i do that?
thats done with this:
The first line gets the second TextView (which has the ID myTextView).
The second line changed the text from the string given in your XML ("from xml file hello world") to "lakshman".
Have you tried my code posted above?