Skip to content

Commit 0be0e67

Browse files
committed
Add Android launcher icon resources
1 parent 7fc9d46 commit 0be0e67

5 files changed

Lines changed: 33 additions & 0 deletions

File tree

android/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
<application
2424
android:allowBackup="true"
2525
android:icon="@mipmap/ic_launcher"
26+
android:roundIcon="@mipmap/ic_launcher_round"
2627
android:label="@string/app_name"
2728
android:theme="@style/Theme.Miku"
2829
android:usesCleartextTraffic="true">
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
3+
android:width="108dp"
4+
android:height="108dp"
5+
android:viewportWidth="108"
6+
android:viewportHeight="108">
7+
<path
8+
android:fillColor="#00000000"
9+
android:pathData="M0,0h108v108h-108z"
10+
android:strokeWidth="0" />
11+
<path
12+
android:fillColor="@color/launcher_accent"
13+
android:pathData="M54,18A36,36 0 1,1 18,54A36,36 0 0,1 54,18z" />
14+
<path
15+
android:fillColor="#FFFFFF"
16+
android:pathData="M33,72L33,36L43,36L54,55L65,36L75,36L75,72L65,72L65,53L56,67L52,67L43,53L43,72Z" />
17+
</vector>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3+
<background android:drawable="@color/launcher_background" />
4+
<foreground android:drawable="@drawable/ic_launcher_foreground" />
5+
</adaptive-icon>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3+
<background android:drawable="@color/launcher_background" />
4+
<foreground android:drawable="@drawable/ic_launcher_foreground" />
5+
</adaptive-icon>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources>
3+
<color name="launcher_background">#0F172A</color>
4+
<color name="launcher_accent">#22C55E</color>
5+
</resources>

0 commit comments

Comments
 (0)