Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

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");
 
PREVIOUS NEXT
Tagged: #android #studio #textbox #change #text
ADD COMMENT
Topic
Name
9+8 =