android to hide the keybord

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

  The view is which u clicked component.

posted @ 2014-12-03 11:36  呼啸而过  阅读(155)  评论(0)    收藏  举报