edittext clear button android code example Example: clear edittext android editText.getText().clear();