diff options
| author | 2023-03-13 19:40:55 -0400 | |
|---|---|---|
| committer | 2023-06-03 00:05:42 -0700 | |
| commit | 527229c8b3da7e5062f4194ab47e4f9a98d26aaa (patch) | |
| tree | 76e4060d0b4eb9447def868b2c57c45ff0c9871c /src/android | |
| parent | android: settings: Dynamically evaluate valueAsString (diff) | |
| download | yuzu-527229c8b3da7e5062f4194ab47e4f9a98d26aaa.tar.gz yuzu-527229c8b3da7e5062f4194ab47e4f9a98d26aaa.tar.xz yuzu-527229c8b3da7e5062f4194ab47e4f9a98d26aaa.zip | |
android: Use adaptive icon
Diffstat (limited to 'src/android')
13 files changed, 24 insertions, 3 deletions
diff --git a/src/android/app/src/main/res/drawable/ic_yuzu.xml b/src/android/app/src/main/res/drawable/ic_yuzu.xml new file mode 100644 index 000000000..a994b8f78 --- /dev/null +++ b/src/android/app/src/main/res/drawable/ic_yuzu.xml | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | <vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
| 2 | android:width="192dp" | ||
| 3 | android:height="192dp" | ||
| 4 | android:viewportHeight="500" | ||
| 5 | android:viewportWidth="500"> | ||
| 6 | <group> | ||
| 7 | <clip-path android:pathData="M120.43,106.44l258.85,0l0,287.61l-258.85,0z" /> | ||
| 8 | <path | ||
| 9 | android:fillColor="#FF3C28" | ||
| 10 | android:fillType="nonZero" | ||
| 11 | 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" /> | ||
| 12 | </group> | ||
| 13 | <group> | ||
| 14 | <clip-path android:pathData="M120.43,106.44l258.85,0l0,287.61l-258.85,0z" /> | ||
| 15 | <path | ||
| 16 | android:fillColor="#0AB9E6" | ||
| 17 | android:fillType="nonZero" | ||
| 18 | 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" /> | ||
| 19 | </group> | ||
| 20 | </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.xml index c9ad5f98f..c060cd86c 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 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> | 2 | <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> |
| 3 | <background android:drawable="@color/ic_launcher_background" /> | 3 | <background android:drawable="@color/ic_launcher_background" /> |
| 4 | <foreground android:drawable="@mipmap/ic_launcher_foreground" /> | 4 | <foreground android:drawable="@drawable/ic_yuzu" /> |
| 5 | </adaptive-icon> \ No newline at end of file | 5 | <monochrome android:drawable="@drawable/ic_yuzu" /> |
| 6 | </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.png deleted file mode 100644 index 3a9dbf35b..000000000 --- a/src/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +++ /dev/null | |||
| Binary files differ | |||
diff --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.png deleted file mode 100644 index da4f4fda6..000000000 --- a/src/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png +++ /dev/null | |||
| Binary files differ | |||
diff --git a/src/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/src/android/app/src/main/res/mipmap-mdpi/ic_launcher.png deleted file mode 100644 index e7ab1ffcc..000000000 --- a/src/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +++ /dev/null | |||
| Binary files differ | |||
diff --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.png deleted file mode 100644 index 68e6acda3..000000000 --- a/src/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png +++ /dev/null | |||
| Binary files differ | |||
diff --git a/src/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/src/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png deleted file mode 100644 index 1a4fa7a08..000000000 --- a/src/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +++ /dev/null | |||
| Binary files differ | |||
diff --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.png deleted file mode 100644 index 665e61c1b..000000000 --- a/src/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png +++ /dev/null | |||
| Binary files differ | |||
diff --git a/src/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/src/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png deleted file mode 100644 index 62fc77634..000000000 --- a/src/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +++ /dev/null | |||
| Binary files differ | |||
diff --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.png deleted file mode 100644 index efbf7184d..000000000 --- a/src/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png +++ /dev/null | |||
| Binary files differ | |||
diff --git a/src/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/src/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png deleted file mode 100644 index 1349d1065..000000000 --- a/src/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +++ /dev/null | |||
| Binary files differ | |||
diff --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.png deleted file mode 100644 index 18cce2c92..000000000 --- a/src/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png +++ /dev/null | |||
| Binary files differ | |||
diff --git a/src/android/app/src/main/res/values/ic_launcher_background.xml b/src/android/app/src/main/res/values/ic_launcher_background.xml index c5d5899fd..f42ada656 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 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <resources> | 2 | <resources> |
| 3 | <color name="ic_launcher_background">#FFFFFF</color> | 3 | <color name="ic_launcher_background">#FFFFFF</color> |
| 4 | </resources> \ No newline at end of file | 4 | </resources> |