how to clear edittext in android on button click code example Example: clear edittext android editText.getText().clear();