。它有同样的描述2个不同的常数(https://developer.android.com/reference/android/R.attr.html#configChanges)Android:'orientation'和'screenLayout'有什么区别?
orientation 0x0080 The screen orientation has changed, that is the user has rotated the device.
screenLayout 0x0100 The screen orientation has changed, that is the user has rotated the device.
很多消息表明指定:
android:configChanges="keyboardHidden|orientation"
但它不应该是:
android:configChanges="keyboardHidden|orientation|screenLayout"
对,似乎是评论中的一个错字。另外这个标志不是1.5,但可以在2.0中看到。 – alex2k8 2010-04-30 14:21:20