popwindow与editText 软键盘弹出问题
2015-12-18 16:12
459 查看
popwdindow中editText 默认是不弹出软件盘, 想弹出先popWindow.setFocusable(true),然后//弹出软键盘
InputMethodManager imm = (InputMethodManager) view.getContext().getSystemService(Service.INPUT_METHOD_SERVICE);
imm.toggleSoftInput(0, InputMethodManager.HIDE_NOT_ALWAYS);
InputMethodManager imm = (InputMethodManager) view.getContext().getSystemService(Service.INPUT_METHOD_SERVICE);
imm.toggleSoftInput(0, InputMethodManager.HIDE_NOT_ALWAYS);
相关文章推荐
- Apache + Tomcat + mod_jk实现集群服务及session共享
- opencv中不稳定点集转换到稳定点集
- Microsoft Virtual PC虚拟机安装Centos局域网无法ping通问题
- Net4.0的网站在IE10、IE11出现“__doPostBack未定义”的解决办法。
- Linux下的SO_REUSEADDR
- centos7开机后桌面显示指定目录
- Tomcat7 + JRebel6.3.0 + IntelliJ idea 热部署配置过程+错误分析
- 用十条命令在一分钟内检查Linux服务器性能
- 研读:On Making Emerging Trusted Execution Environments Accessible to Developers
- openstack neutron-plugin-openvswitch-agent start 报错
- CentOS 6.0 系统 LAMP(Apache+MySQL+PHP)安装步骤
- HDU 1053 Entropy 哈夫曼树
- Nginx虚拟主机的配置
- Tomcat服务器集群与负载均衡实现
- secureCRT shell终端不能backspace等问题解决
- shell小记:eval
- SublimeText2配置解决代码window下编辑代码提交到linux的格式问题
- TOMCAT访问流程
- 生产环境监控系统Nginx+Nagios+Cacti+Nconf大整合(最新源码安装)【转载】
- linux kill函数用法