Android EditText不自动弹出软键盘
来源:互联网 发布:猪八戒考试题库软件 编辑:程序博客网 时间:2024/04/30 04:24
方法一
在mainfest文件设置activity属性
android:windowSoftInputMode="stateHidden"
方法二
在布局文件中使焦点在其他控件上
<TextView
android:focusable="true"
android:focusableInTouchMode="true"
android:layout_width="wrap_content"
android:layout_height="0dp">
<requestFocus/>
</TextView>
在mainfest文件设置activity属性
android:windowSoftInputMode="stateHidden"
方法二
在布局文件中使焦点在其他控件上
<TextView
android:focusable="true"
android:focusableInTouchMode="true"
android:layout_width="wrap_content"
android:layout_height="0dp">
<requestFocus/>
</TextView>
0 0
- android EditText不自动弹出软键盘
- Android EditText不自动弹出软键盘
- EditText不自动弹出软键盘
- android edittext不弹出软键盘
- android edittext不弹出软键盘
- android edittext不弹出软键盘
- android edittext不弹出软键盘
- android edittext不弹出软键盘
- android设置EditText不弹出软键盘
- android edittext不弹出软键盘
- Android EditText不弹出软键盘
- android防止EditText自动弹出软键盘
- android防止EditText自动弹出软键盘
- Android editText自动弹出软键盘
- edittext不弹出软键盘
- Edittext不弹出软键盘
- edittext不弹出软键盘
- EditText不弹出软键盘
- 更改UITextField的placeholder文字颜色的5种方法 及placeholder字体大小
- Uiautomator向jar包传多个参数
- poj之旅——2549
- The .NET Framework for Users(服务于用户的.net框架)
- 在北京租房子需要注意什么?
- Android EditText不自动弹出软键盘
- JAVA输入/输出流程序例题(文件和目录、字节流、字符流)
- JavaBean
- 驱动中的并发与竟态
- 85---ajax实现的传统方式以及jquery方式,jquery方式的五种方法,json对象的转换方法, JSON类型的Result
- Mybatis sql 的#和$在Oracle分页的区别
- RatingBar 自定义图标
- java.lang.IllegalArgumentException: Mapped Statements collection does not contain value for
- 自定义Toast样式