Android开发页面中包含EditText控件时进入页面会自动弹出软件盘。禁止软键盘自动弹出的方法:
1,在包含EditText的XML文件中添加:android:focusable="true"和android:focusableInTouchMode="true"
android:focusable="true"
android:focusableInTouchMode="true"
2, 或者在AndroidManifest.xml中活动里添加:android:windowSoftInputMode="adjustResize|stateHidden"
<activity android:name=".MainActivity">
android:windowSoftInputMode="adjustResize|stateHidden"
</activity>