git.iko.soy/parseable-android
on master help sign in
Add monochrome icon layer for Android 13+ themed icons (#10)

The adaptive icon definitions were missing the <monochrome> element, causing the app icon to not display on devices with themed icons enabled (Android 13+/API 33+). Adds a monochrome drawable with just the "P" letter silhouette and references it in both ic_launcher.xml and ic_launcher_round.xml. https://claude.ai/code/session_01L2k7YtCQwc5zzXKw3cZQ68 Co-authored-by: Claude <noreply@anthropic.com>

commit0da331f38add0ff4c1132e39d0e064a4dea81bca authoriko <mail@iko.soy> dateSun 15 Feb 2026, 18:32 (8 months ago) parent42ca6b1
3 files changed+13
app/src/main/res/drawable/ic_launcher_monochrome.xml+11 app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml+1 app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml+1
app/src/main/res/drawable/ic_launcher_monochrome.xmlnew file+11
@@ -0,0 +1,11 @@
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+ <!-- Letter P -->
8+ <path
9+ android:fillColor="#000000"
10+ android:pathData="M40,35h12c6.6,0 12,5.4 12,12s-5.4,12 -12,12h-6v14h-6V35zM46,53h6c3.3,0 6,-2.7 6,-6s-2.7,-6 -6,-6h-6V53z" />
11+</vector>
app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml+1
@@ -2,4 +2,5 @@
22<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
33 <background android:drawable="@drawable/ic_launcher_background" />
44 <foreground android:drawable="@drawable/ic_launcher_foreground" />
5+ <monochrome android:drawable="@drawable/ic_launcher_monochrome" />
56</adaptive-icon>
app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml+1
@@ -2,4 +2,5 @@
22<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
33 <background android:drawable="@drawable/ic_launcher_background" />
44 <foreground android:drawable="@drawable/ic_launcher_foreground" />
5+ <monochrome android:drawable="@drawable/ic_launcher_monochrome" />
56</adaptive-icon>