Clear text in EditText when entered [duplicate]

Also you can use code below

editText.getText().clear();

Leave a Comment