easy workaround:
InputMethodManager imm = (InputMethodManager) getActivity().getSystemService(Context.INPUT_METHOD_SERVICE); imm.hideSoftInputFromWindow(getActivity().getCurrentFocus().getWindowToken(), 0);
Android – Esconder o teclado do android programaticamente ‘forçado’ (Hide keyboard programmatically)