You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My android application appears stuck in portrait mode even when orientation is set to either "all" or "sensorLandscape". It actually goes to landscape when set to "landscape", but otherwise to goes to portrait and remains there. So far I've tried deleting my application and global .buildozer directories and rebuilding everything, but the issue persisted. Strangely, when the application is loading initially, the loading screen is able to change orientation, but when the app loads, it goes to portrait.
The all option isn't currently supported in buildozer/p4a master, because we updated to SDL2.0.9 but that doesn't have a setting for it. We'll probably fix this quite soon. Possibly you can set it from your apk by calling the Java API for it instead.
Fixed by @opacam in kivy/kivy#6138, but we'll have to wait a short time to make p4a use this updated Kivy version as Kivy master needs an update to the sdl2_image used by p4a.
Versions
Description
My android application appears stuck in portrait mode even when orientation is set to either "all" or "sensorLandscape". It actually goes to landscape when set to "landscape", but otherwise to goes to portrait and remains there. So far I've tried deleting my application and global .buildozer directories and rebuilding everything, but the issue persisted. Strangely, when the application is loading initially, the loading screen is able to change orientation, but when the app loads, it goes to portrait.
buildozer.spec
Command:
Spec file:
The text was updated successfully, but these errors were encountered: