问题:
 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
来源:oschina
链接:https://my.oschina.net/stackoom/blog/3210138
