当前位置:网站首页>In the fragment, the input method is hidden after clicking the confirm cancel button in the alertdialog (this is valid after looking for it on the Internet for a long time)
In the fragment, the input method is hidden after clicking the confirm cancel button in the alertdialog (this is valid after looking for it on the Internet for a long time)
2022-06-26 09:55:00 【Graffiti CC】
private void hideKeyBord(){
InputMethodManager inputMgr = (InputMethodManager) getContext()
.getSystemService(Context.INPUT_METHOD_SERVICE);
inputMgr.toggleSoftInput(InputMethodManager.HIDE_NOT_ALWAYS, 0);
}
边栏推荐
- Single sign on logic
- Upgrade idea to 2021.2 shortcut keys
- LeetCode 0710.黑名单中的随机数 - 预处理实现O(1)取值
- c语言语法基础之——指针(字符、一维数组) 学习
- 如何更改微信小程序二维码物料颜色
- Wechat official account reported error 10003
- 2021 national vocational college skills competition (secondary vocational group) network security competition questions (1) detailed analysis tutorial
- mysql 数据库字段查询区分大小写设置
- The 100000 line transaction lock has opened your eyes.
- SQL高级教程
猜你喜欢
Basic grammar of C language -- pointer (character, one-dimensional array) learning
online trajectory generation
SSM项目小例子,SSM整合图文详细教程
Industrial and enterprise patent matching data (hundreds of thousands of data) 1998-2014
install opencv-contrib-dev to use aruco code
测试须知——常见接口协议解析
c语言语法基础之——局部变量及存储类别、全局变量及存储类别、宏定义 学习
定制拦截器
c语言语法基础之——指针(字符、一维数组) 学习
What is the web SSH service port of wgcloud
随机推荐
Crawler related articles collection: pyppeter, burpsuite
SQL高级教程
Basic grammar of C language -- pointer (character, one-dimensional array) learning
Single sign on logic
Mysql database field query case sensitive setting
安装 新版本cmake & swig & tinyspline
halcon 光度立体
我在中山,到哪里开户比较好?在线开户安全么?
Meaning of go runtime
c语言语法基础之——函数 小程序 求阶乘
install opencv-contrib-dev to use aruco code
LeetCode 958. Completeness checking of binary tree
2021-11-29 quintic polynomial of trajectory planning
SSM项目小例子,SSM整合图文详细教程
Js--- get the data with the same key value in the object array to get a new array
LeetCode 958. 二叉树的完全性校验
My creation anniversary
软件测试---如何选择合适的正交表
This new change of go 1.16 needs to be adapted: the changes of go get and go install
From TF 1 X to TF 2.6 (update if you encounter it)