。它有同樣的描述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