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(;

//  Setting the value

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

Click to Enlarge

Click to Enlarge

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


Your Email Id  
Query/FeedbackCharacters remaining 250