打开相应XML布局文件,在包含EditText的父布局中添加:
android:focusable=“true”
android:focusableInTouchMode=“true” 即可
安卓开发笔记——Android禁止EditText自动弹出软键盘解决方案
猜你喜欢
转载自blog.csdn.net/qq_38233258/article/details/105194448
今日推荐
周排行