1、如何不让程序启动软键盘自动弹出
在所在的AndroidManifest.xml的里加上
android:windowSoftInputMode=”adjustUnspecified|stateHidden”
android:configChanges=”orientation|keyboardHidden”
2、如何不让程序启动光标自动显示
解决之道:在EditText的父级控件中找一个,设置成
android:focusable=”true”
android:focusableInTouchMode=”true”
例如:但是感觉并不稳定