how to clear edittext data when focus in android code example Example: clear edittext android editText.getText().clear();