他们的解决办法是在 AndroidManifest.xml中 找到对应activity 在里面写上android:windowSoftInputMode="adjustPan" 一定要在tabhost的类中添加,其他的类中添加无用