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

 }

相关文章:

  • 2021-11-28
  • 2021-12-14
  • 2022-12-23
  • 2021-12-27
  • 2021-11-18
  • 2021-06-13
  • 2021-11-09
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-02-09
  • 2021-11-01
  • 2021-10-23
  • 2022-12-23
  • 2022-01-09
相关资源
相似解决方案