如何设置可见性Android软键盘

守給你的承諾、 提交于 2020-03-24 14:25:56

3 月,跳不动了?>>>

问题:

I have an EditText and a Button in my layout. 我的布局中有一个EditText和一个Button

After writing in the edit field and clicking on the Button , I want to hide the virtual keyboard. 在编辑字段中编写并单击Button ,我想隐藏虚拟键盘。 I assume that this is a simple piece of code, but where can I find an example of it? 我假设这是一段简单的代码,但是在哪里可以找到示例呢?


解决方案:

参考一: https://stackoom.com/question/4eVS/如何设置可见性Android软键盘
参考二: https://oldbug.net/q/4eVS/How-to-set-visibility-Android-Soft-Keyboard
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!