Relative Content

Tag Archive for androidandroid-emulatorscreen-orientation

Pixel Fold emulator oreintation

I have an activity which I declared to be in portrait mode in the AndroidManifest.xml, using activity’s property: android:screenOrientation="portrait" This works fine on real and emulated devices, but when I try the Pixel Fold emulator it seems to ignore the directive, and when I rotate the emulator, the activity becomes landscape inspite of the screenOrientation property being set to portrait.