Also you can use code below
editText.getText().clear();
More Related Contents:
- How to close/hide the Android soft keyboard programmatically?
- Handling click events on a drawable within an EditText
- How to change the floating label color of TextInputLayout
- Counting Chars in EditText Changed Listener
- Move to another EditText when Soft Keyboard Next is clicked on Android
- Design Android EditText to show error message as described by google
- Email Address Validation in Android on EditText [duplicate]
- EditText, clear focus on touch outside
- Android: Resize only parts of view with soft keyboard on screen
- How to Automatically add thousand separators as number is input in EditText
- Programmatically change input type of the EditText from PASSWORD to NORMAL & vice versa
- How to check edittext’s text is email address or not?
- Keyboard not shown when i click on edittextview in android?
- How to mask an EditText to show the dd/mm/yyyy date format
- Automatic popping up keyboard on start Activity
- Android TextField : set focus + soft input programmatically
- Password hint font in Android
- Format credit card in edit text in android
- Does EditText.getText() ever returns null?
- How to set cursor position in EditText?
- EditText underline below text property
- Android Keyboard hides EditText
- setHintTextColor() in EditText
- Android – Custom Dialog – Can’t get text from EditText
- change font for editText hint
- Change border color when edittext is focused
- Edit Text shows exception Invalid Int “”
- How to change color of EditText handles?
- Android, how do I stop a pointer appearing below an EditText
- EditText request focus