How to detect Upside down Orientation in android?
Use the device current rotation http://developer.android.com/reference/android/view/Display.html#getRotation()
It returns one of 4 options ROTATION_0, ROTATION_90, ROTATION_180, ROTATION_270
Use the device current rotation http://developer.android.com/reference/android/view/Display.html#getRotation()
It returns one of 4 options ROTATION_0, ROTATION_90, ROTATION_180, ROTATION_270