android 关闭软键盘

    InputMethodManager imm = (InputMethodManager)getActivity().getSystemService(Context.INPUT_METHOD_SERVICE);

            imm.hideSoftInputFromWindow(searchEt.getWindowToken(), 0);

你可能感兴趣的:(android 关闭软键盘)