how to empty contents from editText in android code example Example: clear edittext android editText.getText().clear();