Skip to content

Commit f51290a

Browse files
authored
Update AndroidManifest.tmpl.xml to include adaptive icons.
1 parent 93b1b81 commit f51290a

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="UTF-8"?>
22
<!-- Replace org.libsdl.app with the identifier of your game below, e.g.
33
com.gamemaker.game
44
-->
@@ -50,7 +50,8 @@
5050
-->
5151
<application android:label="@string/app_name"
5252
{% if debug %}android:debuggable="true"{% endif %}
53-
android:icon="@mipmap/icon"
53+
android:icon="@mipmap/ic_launcher"
54+
android:roundIcon="@mipmap/ic_launcher_round"
5455
android:allowBackup="{{ args.allow_backup }}"
5556
{% if args.backup_rules %}android:fullBackupContent="@xml/{{ args.backup_rules }}"{% endif %}
5657
{{ args.extra_manifest_application_arguments }}
@@ -70,7 +71,6 @@
7071
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 %}"
7172
android:screenOrientation="{{ args.manifest_orientation }}"
7273
android:exported="true"
73-
android:theme="@style/KivySupportCutout"
7474
{% if args.activity_launch_mode %}
7575
android:launchMode="{{ args.activity_launch_mode }}"
7676
{% endif %}
@@ -99,7 +99,8 @@
9999

100100
{% if args.launcher %}
101101
<activity android:name="org.kivy.android.launcher.ProjectChooser"
102-
android:icon="@mipmap/icon"
102+
android:icon="@mipmap/ic_launcher"
103+
android:roundIcon="@mipmap/ic_launcher_round"
103104
android:label="@string/app_name"
104105
android:exported="true">
105106

0 commit comments

Comments
 (0)