Android 让EditText默认不获取软键盘 Posted on 2015-08-25 Edited on 2022-06-24 In Android Changyan: Disqus: 在Android开发中,会遇到这种情况,当页面中存在EditText时,默认会把软键盘给调出来,而我们并不想让软键盘弹出。 解决方案: 在EditText的父控件中设置如下两个属性即可: 12android:focusable="true"android:focusableInTouchMode="true" Donate Alipay Post author: Jiezhi Post link: https://jiezhi.github.io/2015/08/25/Android_让EditText默认不获取软键盘/ Copyright Notice: All articles in this blog are licensed under BY-NC-SA unless stating additionally. Welcome to my other publishing channels Telegram RSS