在 AndroidMainfest.xml中选择哪个activity,设置windowSoftInputMode属性为 adjustUnspecified|stateHidden
<activity android:name=".Main" android:label="@string/str_lable_device_loc" android:windowSoftInputMode="adjustUnspecified|stateHidden" android:screenOrientation="portrait"> <intent-filter> <action android:name="..." /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> </activity>