change text of a text voew android studio code example
Example: android studio textbox change text
XML:
<TextView
android:id="@+id/helloTxt"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
Java:
TextView msg = findViewById(R.id.helloTxt);
msg.setText("Hello");