Answers for "on text change set text to edittext android"

2

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");
Posted by: Guest on August-10-2020
3

get text from edittext android

EditText myEditText =  (EditText) findViewById(R.id.vnosEmaila);

String text = myEditText.getText().toString();
Posted by: Guest on January-28-2021

Code answers related to "on text change set text to edittext android"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language