Android: What is a difference between 'orientation' and 'screenLayout'?
- by alex2k8
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"