That’s basic knowledge of android man, you can find it on every tutorial.
This is how you can modify the text of a text view, in this case yours:
((TextView)findViewById(R.id.textView)).setText("some text");
solved How to work with xml and java (android) [closed]