-
Notifications
You must be signed in to change notification settings - Fork 506
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changing the screen orientation depending on the auto-rotate setting #1695
Comments
Buildozer app rotation is enabled in buildozer.spec using orientation options. Android has a global 'auto-rotate' enable/disable option as part of Accessibility options. Yes, I can confirm that Buildozer builds apps that ignore Android's global 'auto-rotate' disable. In fact, I expect Buildozer apps ignore all the Android Accessibility options. |
Hi @bl1nch, Can you please post your |
Hi @misl6, sorry for such a late reply If it suddenly matters I have a custom build method with Github Actions, so I clone p4a and make some changes every time, so don't mind this line:
I constantly use the latest version of the builldozer The solution with pyjnius that I found on the internet, but I’m not sure if it works since I haven’t had time to check it yet:
|
I recently tested this solution and it works perfect |
Which version of |
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have the means to take action. Please reach out if you have or find the answers we need so that we can investigate further. |
Description
Hello. At the moment, based on the documentation, Buildozer supports portrait and landscape orientations, but the application changes the screen orientation regardless of the state of the sensor on the user’s device. Thus, the orientation changes even if auto-rotation of the screen is disabled in the device settings. I've seen examples of fixing this using pyjnius but I would like to know if Buildozer supports this?
The text was updated successfully, but these errors were encountered: