InputMethodManager inputMethodManager = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE); inputMethodManager.hideSoftInputFromWindow (mFirstEmailEditText.getWindowToken(),InputMethodManager.RESULT_UNCHANGED_SHOWN);
InputMethodManager inputMethodManager = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE); inputMethodManager.hideSoftInputFromWindow (mFirstEmailEditText.getWindowToken(),InputMethodManager.RESULT_UNCHANGED_SHOWN);