Answers for "how to add text in android studio"

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 studio creating a text file

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Posted by: Guest on October-15-2020

Code answers related to "how to add text in android studio"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language