Skip to content

Commit 5491dc0

Browse files
committed
🎨 Add Android launcher icons
Added: - ic_launcher_foreground.xml with QR-SHIELD design (shield + QR code) - Adaptive icon configs for Android 8.0+ (API 26) - Fallback PNG icons for older Android versions - ic_launcher_background color Fixes: AAPT error - mipmap/ic_launcher not found
1 parent 7bd2de5 commit 5491dc0

14 files changed

Lines changed: 68 additions & 0 deletions

File tree

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
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+
8+
<!-- Shield shape -->
9+
<path
10+
android:fillColor="#6366F1"
11+
android:pathData="M54,10 L88,26 L88,56 C88,76 73,92 54,98 C35,92 20,76 20,56 L20,26 Z"/>
12+
13+
<!-- Inner shield highlight -->
14+
<path
15+
android:fillColor="#818CF8"
16+
android:pathData="M54,18 L80,30 L80,54 C80,70 68,82 54,88 C40,82 28,70 28,54 L28,30 Z"/>
17+
18+
<!-- QR code pattern -->
19+
<path
20+
android:fillColor="#FFFFFF"
21+
android:pathData="M38,38 L46,38 L46,46 L38,46 Z"/>
22+
<path
23+
android:fillColor="#FFFFFF"
24+
android:pathData="M62,38 L70,38 L70,46 L62,46 Z"/>
25+
<path
26+
android:fillColor="#FFFFFF"
27+
android:pathData="M38,62 L46,62 L46,70 L38,70 Z"/>
28+
<path
29+
android:fillColor="#FFFFFF"
30+
android:pathData="M50,50 L58,50 L58,58 L50,58 Z"/>
31+
<path
32+
android:fillColor="#FFFFFF"
33+
android:pathData="M62,54 L70,54 L70,62 L62,62 Z"/>
34+
<path
35+
android:fillColor="#FFFFFF"
36+
android:pathData="M50,62 L58,62 L58,70 L50,70 Z"/>
37+
38+
<!-- Check mark overlay -->
39+
<path
40+
android:fillColor="#10B981"
41+
android:strokeWidth="3"
42+
android:strokeColor="#10B981"
43+
android:pathData="M48,55 L52,60 L64,48"/>
44+
45+
</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/ic_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/ic_launcher_background"/>
4+
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
5+
</adaptive-icon>
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
Β (0)