在AndroidManifest.xml里面
选择那个acitivity, 把他的window soft input mode设置成stateHidden和
adjustUnspecified
Java代码
<activity
android:name=".ClientSearchViewActivity"
android:label="@string/app_name"
android:screenOrientation="portrait"
android:windowSoftInputMode="adjustUnspecified|stateHidden"
android:configChanges="orientation|keyboardHidden">
</activity>