在Manifest中,找到更新那个activity和上一个activity,设置属性
android:configChanges="keyboard|keyboardHidden|navigation"
android:launchMode="singleTask"
android:screenOrientation="landscape"
android:theme="@style/NoTitleBarTranslucent"
style / NoTitleBarTranslucent
<style name="NoTitleBarTranslucent" parent="android:Theme">
<item name="android:windowNoTitle">true</item>
<item name="android:windowIsTranslucent">true</item>
</style>
就ok啦