Skip to content

Commit e51247a

Browse files
authored
Change screenOrientation to "portrait".
1 parent 3221eb9 commit e51247a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythonforandroid/bootstraps/_sdl_common/build/templates/AndroidManifest.tmpl.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
android:launchMode="{% if args.activity_launch_mode %}{{ args.activity_launch_mode }}{% else %}singleTask{% endif %}"
7575
android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|fontScale|uiMode{% if args.min_sdk_version >= 8 %}|uiMode{% endif %}{% if args.min_sdk_version >= 13 %}|screenSize|smallestScreenSize{% endif %}{% if args.min_sdk_version >= 17 %}|layoutDirection{% endif %}{% if args.min_sdk_version >= 24 %}|density{% endif %}"
7676
android:windowSoftInputMode="adjustResize"
77-
android:screenOrientation="unspecified">
77+
android:screenOrientation="portrait">
7878
{% if args.activity_launch_mode %}
7979
android:launchMode="{{ args.activity_launch_mode }}"
8080
{% endif %}

0 commit comments

Comments
 (0)