Articles → Android → Edittext In Android

Edittext In Android

What Is Edittext?

How To Add Edit Text?

Picture showing adding the plain text control in android
Click to Enlarge

Get And Set The Value Of Edit Text

EditText editText = (EditText)findViewById(;

//  Setting the value

// Get the value
Log.v("Edit Text Value", editText.getText().toString());

Picture showing the value of the edit text in log window
Click to Enlarge

Picture showing the value displayed in the edit text in android
Click to Enlarge

Posted By  -  Karan Gupta
Posted On  -  Wednesday, November 13, 2019


Your Email Id  
Query/FeedbackCharacters remaining 250