如何让输入法自动隐藏?

((InputMethodManager) getSystemService(INPUT_METHOD_SERVICE))
                                .hideSoftInputFromWindow(LoginActivity.this
                                                .getCurrentFocus().getWindowToken(),
                                                InputMethodManager.HIDE_NOT_ALWAYS);

posted @ 2014-06-18 14:59  kobe8  Views(253)  Comments(0Edit  收藏  举报