Answers for "set text in edittext android"

2

get text from edittext android

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

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

java android edit text set value

EditText bookInput = (EditText)findViewById(R.id.book);
bookInput.setText("The Shining");
Posted by: Guest on May-13-2020
0

set text in edittext android

EditText editText = (EditText)findViewById(R.id.edit_text);
editText.setText("This sets the text.", TextView.BufferType.EDITABLE);
Posted by: Guest on March-25-2021

Code answers related to "set text in edittext android"

Browse Popular Code Answers by Language