Answers for "set value in textview android studio"

6

android studio set text of textview

// globally 
TextView myAwesomeTextView = (TextView)findViewById(R.id.myAwesomeTextView);

//in your OnCreate() method
myAwesomeTextView.setText("My Awesome Text");
Posted by: Guest on June-18-2020
0

set text from strings.xml

theButton.setText(getString(R.string.fu));
Posted by: Guest on September-29-2020

Code answers related to "set value in textview android studio"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language