Answers for "how to set textview text programmatically in android"

7

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

android set text in textview programmatically from string resource

getResources().getString(R.string.nome_stringa])
Posted by: Guest on April-24-2020

Code answers related to "how to set textview text programmatically in android"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language