VERY experimental Nintendo Switch 2 emulator
C++
android: Use adaptive icon
Charles Lombardocc5ee75b523f
diff --git a/src/android/app/src/main/res/drawable/ic_yuzu.xml b/src/android/app/src/main/res/drawable/ic_yuzu.xmlnew file mode 100644index 0000000000..a994b8f78a--- /dev/null+++ b/src/android/app/src/main/res/drawable/ic_yuzu.xml@@ -0,0 +1,20 @@+<vector xmlns:android="http://schemas.android.com/apk/res/android"+ android:width="192dp"+ android:height="192dp"+ android:viewportHeight="500"+ android:viewportWidth="500">+ <group>+ <clip-path android:pathData="M120.43,106.44l258.85,0l0,287.61l-258.85,0z" />+ <path+ android:fillColor="#FF3C28"+ android:fillType="nonZero"+ android:pathData="M262.44,174.77L262.44,376.08C318.03,376.08 363.1,331.01 363.1,275.42C363.1,219.82 318.03,174.77 262.44,174.77M282.12,196.8C318.16,205.85 343.44,238.25 343.44,275.42C343.44,312.58 318.16,344.98 282.12,354.03L282.12,196.8" />+ </group>+ <group>+ <clip-path android:pathData="M120.43,106.44l258.85,0l0,287.61l-258.85,0z" />+ <path+ android:fillColor="#0AB9E6"+ android:fillType="nonZero"+ android:pathData="M237.27,124.41C181.67,124.41 136.61,169.48 136.61,225.08C136.61,280.68 181.67,325.75 237.27,325.75ZM217.61,146.46L217.61,303.71C189.29,296.62 166.97,274.85 159.19,246.72C151.4,218.59 159.35,188.44 180,167.8C190.35,157.39 203.36,150.01 217.61,146.46" />+ </group>+</vector>diff --git a/src/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/src/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xmlindex c9ad5f98f1..c060cd86cd 100644--- a/src/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml+++ b/src/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml@@ -1,5 +1,6 @@<?xml version="1.0" encoding="utf-8"?><adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"><background android:drawable="@color/ic_launcher_background" />- <foreground android:drawable="@mipmap/ic_launcher_foreground" />-</adaptive-icon>\ No newline at end of file+ <foreground android:drawable="@drawable/ic_yuzu" />+ <monochrome android:drawable="@drawable/ic_yuzu" />+</adaptive-icon>diff --git a/src/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/src/android/app/src/main/res/mipmap-hdpi/ic_launcher.pngdeleted file mode 100644index 3a9dbf35b9..0000000000Binary files a/src/android/app/src/main/res/mipmap-hdpi/ic_launcher.png and /dev/null differdiff --git a/src/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png b/src/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.pngdeleted file mode 100644index da4f4fda67..0000000000Binary files a/src/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png and /dev/null differdiff --git a/src/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/src/android/app/src/main/res/mipmap-mdpi/ic_launcher.pngdeleted file mode 100644index e7ab1ffcca..0000000000Binary files a/src/android/app/src/main/res/mipmap-mdpi/ic_launcher.png and /dev/null differdiff --git a/src/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png b/src/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.pngdeleted file mode 100644index 68e6acda3d..0000000000Binary files a/src/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png and /dev/null differdiff --git a/src/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/src/android/app/src/main/res/mipmap-xhdpi/ic_launcher.pngdeleted file mode 100644index 1a4fa7a084..0000000000Binary files a/src/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png and /dev/null differdiff --git a/src/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png b/src/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.pngdeleted file mode 100644index 665e61c1b2..0000000000Binary files a/src/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png and /dev/null differdiff --git a/src/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/src/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.pngdeleted file mode 100644index 62fc776344..0000000000Binary files a/src/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png and /dev/null differdiff --git a/src/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png b/src/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.pngdeleted file mode 100644index efbf7184db..0000000000Binary files a/src/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png and /dev/null differdiff --git a/src/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/src/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.pngdeleted file mode 100644index 1349d1065b..0000000000Binary files a/src/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png and /dev/null differdiff --git a/src/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png b/src/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.pngdeleted file mode 100644index 18cce2c929..0000000000Binary files a/src/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png and /dev/null differdiff --git a/src/android/app/src/main/res/values/ic_launcher_background.xml b/src/android/app/src/main/res/values/ic_launcher_background.xmlindex c5d5899fdf..f42ada656e 100644--- a/src/android/app/src/main/res/values/ic_launcher_background.xml+++ b/src/android/app/src/main/res/values/ic_launcher_background.xml@@ -1,4 +1,4 @@<?xml version="1.0" encoding="utf-8"?><resources><color name="ic_launcher_background">#FFFFFF</color>-</resources>\ No newline at end of file+</resources>