diff --git a/sbapp/main.py b/sbapp/main.py index d997482..14d7ce1 100644 --- a/sbapp/main.py +++ b/sbapp/main.py @@ -343,6 +343,10 @@ class SidebandApp(MDApp): self.announces_view = None + ActivityInfo = autoclass('android.content.pm.ActivityInfo') + activity = autoclass('org.kivy.android.PythonActivity').mActivity + activity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED) + screen = Builder.load_string(root_layout) return screen