Articles → Android → Edittext In Android
Edittext In Android
What Is Edittext?
How To Add Edit Text?
Click to Enlarge
Get And Set The Value Of Edit Text
EditText editText = (EditText)findViewById(R.id.editText);
// Setting the value
editText.setText("Test");
// Get the value
Log.v("Edit Text Value", editText.getText().toString());
Click to Enlarge
Click to Enlarge