Android: What is a difference between 'orientation' and 'screenLayout'?
        Posted  
        
            by alex2k8
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by alex2k8
        
        
        
        Published on 2010-04-29T23:05:08Z
        Indexed on 
            2010/04/29
            23:07 UTC
        
        
        Read the original article
        Hit count: 434
        
android
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"
        © Stack Overflow or respective owner