/**   * 隐藏软键盘   *   * @param context   */  public static void hideKeyboard(Activity activity, View view) {   InputMethodManager imm = (InputMethodManager) activity     .getSystemService(Context.INPUT_METHOD_SERVICE);   imm.hideSoftInputFromWindow(view.getWindowToken(), 0);

 }

posted on 2012-12-28 11:21  zhengbeibei  阅读(332)  评论(0编辑  收藏  举报