smilevchy
12/24/2015 - 2:51 PM

HideInputMethodManager.java

public void hideImm(View v) {
    InputMethodManager imm = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);
    imm.hideSoftInputFromWindow(v.getWindowToken(), 0);
}