Add support for Android adaptive icons.
@@ -27,7 +27,7 @@
|
||||
<!-- Any tag in this line after android:icon will be erased when doing custom builds. -->
|
||||
<!-- If you want to add tags manually, do before it. -->
|
||||
<!-- WARNING: This should stay on a single line until the parsing code is improved. See GH-32414. -->
|
||||
<application android:label="@string/godot_project_name_string" android:allowBackup="false" tools:ignore="GoogleAppIndexingWarning" android:icon="@drawable/icon" >
|
||||
<application android:label="@string/godot_project_name_string" android:allowBackup="false" tools:ignore="GoogleAppIndexingWarning" android:icon="@mipmap/icon" >
|
||||
|
||||
<!-- The following metadata values are replaced when Godot exports, modifying them here has no effect. -->
|
||||
<!-- Do these changes in the export preset. Adding new ones is fine. -->
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
</application>
|
||||
|
||||
<instrumentation
|
||||
android:icon="@drawable/icon"
|
||||
android:icon="@mipmap/icon"
|
||||
android:label="@string/godot_project_name_string"
|
||||
android:name=".GodotInstrumentation"
|
||||
android:targetPackage="org.godotengine.godot" />
|
||||
|
||||
|
Before Width: | Height: | Size: 7.4 KiB |
5
platform/android/java/lib/res/mipmap-anydpi-v26/icon.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<background android:drawable="@mipmap/icon_background"/>
|
||||
<foreground android:drawable="@mipmap/icon_foreground"/>
|
||||
</adaptive-icon>
|
||||
BIN
platform/android/java/lib/res/mipmap-hdpi/icon.png
Normal file
|
After Width: | Height: | Size: 3.7 KiB |
BIN
platform/android/java/lib/res/mipmap-hdpi/icon_background.png
Normal file
|
After Width: | Height: | Size: 375 B |
BIN
platform/android/java/lib/res/mipmap-hdpi/icon_foreground.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
platform/android/java/lib/res/mipmap-mdpi/icon.png
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
BIN
platform/android/java/lib/res/mipmap-mdpi/icon_background.png
Normal file
|
After Width: | Height: | Size: 240 B |
BIN
platform/android/java/lib/res/mipmap-mdpi/icon_foreground.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
platform/android/java/lib/res/mipmap-xhdpi/icon.png
Normal file
|
After Width: | Height: | Size: 5.1 KiB |
BIN
platform/android/java/lib/res/mipmap-xhdpi/icon_background.png
Normal file
|
After Width: | Height: | Size: 517 B |
BIN
platform/android/java/lib/res/mipmap-xhdpi/icon_foreground.png
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
BIN
platform/android/java/lib/res/mipmap-xxhdpi/icon.png
Normal file
|
After Width: | Height: | Size: 8.0 KiB |
BIN
platform/android/java/lib/res/mipmap-xxhdpi/icon_background.png
Normal file
|
After Width: | Height: | Size: 905 B |
BIN
platform/android/java/lib/res/mipmap-xxhdpi/icon_foreground.png
Normal file
|
After Width: | Height: | Size: 7.2 KiB |
BIN
platform/android/java/lib/res/mipmap-xxxhdpi/icon.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
platform/android/java/lib/res/mipmap-xxxhdpi/icon_background.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
platform/android/java/lib/res/mipmap-xxxhdpi/icon_foreground.png
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
platform/android/java/lib/res/mipmap/icon.png
Normal file
|
After Width: | Height: | Size: 12 KiB |
BIN
platform/android/java/lib/res/mipmap/icon_background.png
Normal file
|
After Width: | Height: | Size: 240 B |
BIN
platform/android/java/lib/res/mipmap/icon_foreground.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |