Android – Esconder o teclado do android programaticamente ‘forçado’ (Hide keyboard programmatically)

keyboard_android

easy workaround:

           InputMethodManager imm = (InputMethodManager) getActivity().getSystemService(Context.INPUT_METHOD_SERVICE);
           imm.hideSoftInputFromWindow(getActivity().getCurrentFocus().getWindowToken(), 0);