InputMethodManager im = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);im.hideSoftInputFromWindow(view.getWindowToken(), InputMethodManager.HIDE_NOT_ALWAYS);(注:view 是你要在哪里隐藏的view)
隐藏软件盘(个人因为好用的方法)
原文:http://www.cnblogs.com/niupi/p/5794610.html