Java Code Examples for android.widget.TextView.clearFocus()

The following are Jave code examples for showing how to use clearFocus() of the android.widget.TextView class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: TodoRealm   File:   Source Code and License Vote up 5 votes
boolean onEditorAction(TextView view, int actionId, KeyEvent event) {
    if (actionId == EditorInfo.IME_ACTION_DONE) {
        KeyboardUtils.hideKeyboard(view.getContext(), view);
        return true;
    return false;