在activity设置中加上 [quote]android:configChanges="orientation|keyboardHidden|navigation"[/quote]
Reference: [url]http://hi.baidu.com/pengwenfu/blog/item/4cfe1d2a4cdbd7f0e7cd40ab.html[/url]
Reference: [url]http://hi.baidu.com/pengwenfu/blog/item/4cfe1d2a4cdbd7f0e7cd40ab.html[/url]