今天早上,我想到了一个尝试处理该onConfigurationChanged事件的问题。问题在于,当我更改手机的方向时,无法调用我重写的方法。根本没有接到电话。
我已经android:configChanges="orientation"按照Android文档中的说明放置了清单中定义的活动,但这并没有什么不同。
你有这个问题吗?
android:configChanges 这是Google Javadoc所说的: Note: If your application targets API level 13 or higher (as declared by the minSdkVersion and targetSdkVersion attributes), then you should also declare the "screenSize" configuration, because it also changes when a device switches between portrait and landscape orientations.
