首页 > 代码库 > android to hide the keybord

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.

android to hide the keybord