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 1

    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.