Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

android studio set text of textview

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

//in your OnCreate() method
myAwesomeTextView.setText("My Awesome Text");
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #android #studio #set #text #textview
ADD COMMENT
Topic
Name
1+8 =