tags:

views:

30

answers:

1

There are 2 different constants that have same description (http://developer.android.com/intl/de/reference/android/R.attr.html#configChanges)

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.

Many sources suggest to specify:

android:configChanges="keyboardHidden|orientation"

But should not it be:

android:configChanges="keyboardHidden|orientation|screenLayout"
+1  A: 

I have never seen screenLayout used that way. My guess that it is a copy-and-paste error in the documentation.

CommonsWare
Right, seems to be a typo in comments. Also this flag was not in 1.5, but can be seen in 2.0.
alex2k8