How (preferably in the manifesto) to set the landscape orientation, but so that when the device is rotated 180 degrees, the application also turns over and does not stand upside down?
|
1 answer
In the manifest, instead of the landscape, specify sensorLandscape .
android:screenOrientation="sensorLandscape" When you rotate the device 180 degrees, the screen will also be inverted.
- @pavlofff according to off. documentation developer.android.com/guide/topics/manifest/… sensorLandscape was added to API 9. Most likely you confused with userLandscape, which was added to API 18 - Valery Ponomarenko
|