git.iko.soy/parseable-android
on master help sign in
Restore density-specific WebP launcher icons (#24)

* Restore density-specific WebP launcher icons Re-add the ic_launcher.webp files across all density buckets (mdpi, hdpi, xhdpi, xxhdpi, xxxhdpi) from commit 5efe23f. These density-specific icons take precedence over the adaptive icon in mipmap-anydpi-v26. https://claude.ai/code/session_015MJouUFfQv5itjRHT5fKnQ * Remove overridden adaptive icon XML for ic_launcher The density-specific WebP files now take precedence over mipmap-anydpi-v26/ic_launcher.xml, making it dead code. The round variant and its referenced drawables are kept since no round WebP icons exist. https://claude.ai/code/session_015MJouUFfQv5itjRHT5fKnQ * Remove adaptive icon assets and drawable directory Delete the drawable directory (foreground, background, monochrome vector XMLs) and mipmap-anydpi-v26/ic_launcher_round.xml since all launcher icons now use the density-specific WebP files. Point roundIcon to @mipmap/ic_launcher and update LoginScreen and AboutScreen logo references to use @mipmap/ic_launcher. https://claude.ai/code/session_015MJouUFfQv5itjRHT5fKnQ --------- Co-authored-by: Claude <noreply@anthropic.com>

commit6dc9af2a5ac77485ee097542fb2fabab1fa05e91 authoriko <mail@iko.soy> dateMon 16 Feb 2026, 11:56 (7 months ago) parent2f6fb81
13 files changed+3−51
app/src/main/AndroidManifest.xml+1−1 app/src/main/java/com/parseable/android/ui/screens/about/AboutScreen.kt+1−1 app/src/main/java/com/parseable/android/ui/screens/login/LoginScreen.kt+1−1 app/src/main/res/drawable/ic_launcher_background.xml−10 app/src/main/res/drawable/ic_launcher_foreground.xml−15 app/src/main/res/drawable/ic_launcher_monochrome.xml−11 app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml−6 app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml−6 app/src/main/res/mipmap-hdpi/ic_launcher.webp app/src/main/res/mipmap-mdpi/ic_launcher.webp app/src/main/res/mipmap-xhdpi/ic_launcher.webp app/src/main/res/mipmap-xxhdpi/ic_launcher.webp app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp
app/src/main/AndroidManifest.xml+1−1
@@ -10,7 +10,7 @@
1010 android:allowBackup="false"
1111 android:icon="@mipmap/ic_launcher"
1212 android:label="@string/app_name"
13− android:roundIcon="@mipmap/ic_launcher_round"
13+ android:roundIcon="@mipmap/ic_launcher"
1414 android:supportsRtl="true"
1515 android:theme="@style/Theme.ParseableAndroid"
1616 android:networkSecurityConfig="@xml/network_security_config"
app/src/main/java/com/parseable/android/ui/screens/about/AboutScreen.kt+1−1
@@ -62,7 +62,7 @@ fun AboutScreen(
6262 horizontalAlignment = Alignment.CenterHorizontally,
6363 ) {
6464 Image(
65− painter = painterResource(id = R.drawable.ic_launcher_foreground),
65+ painter = painterResource(id = R.mipmap.ic_launcher),
6666 contentDescription = "Parseable logo",
6767 modifier = Modifier.size(80.dp),
6868 )
app/src/main/java/com/parseable/android/ui/screens/login/LoginScreen.kt+1−1
@@ -63,7 +63,7 @@ fun LoginScreen(
6363 verticalArrangement = Arrangement.Center,
6464 ) {
6565 Image(
66− painter = painterResource(id = R.drawable.ic_launcher_foreground),
66+ painter = painterResource(id = R.mipmap.ic_launcher),
6767 contentDescription = "Parseable logo",
6868 modifier = Modifier.size(120.dp),
6969 )
app/src/main/res/drawable/ic_launcher_background.xmldeleted−10
@@ -1,10 +0,0 @@
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="#545BEB"
9− android:pathData="M0,0h108v108h-108z" />
10−</vector>
app/src/main/res/drawable/ic_launcher_foreground.xmldeleted−15
@@ -1,15 +0,0 @@
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− <!-- Background circle -->
8− <path
9− android:fillColor="#545BEB"
10− android:pathData="M54,54m-40,0a40,40 0,1 1,80 0a40,40 0,1 1,-80 0" />
11− <!-- Letter P -->
12− <path
13− android:fillColor="#FFFFFF"
14− 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" />
15−</vector>
app/src/main/res/drawable/ic_launcher_monochrome.xmldeleted−11
@@ -1,11 +0,0 @@
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.xmldeleted−6
@@ -1,6 +0,0 @@
1−<?xml version="1.0" encoding="utf-8"?>
2−<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3− <background android:drawable="@drawable/ic_launcher_background" />
4− <foreground android:drawable="@drawable/ic_launcher_foreground" />
5− <monochrome android:drawable="@drawable/ic_launcher_monochrome" />
6−</adaptive-icon>
app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xmldeleted−6
@@ -1,6 +0,0 @@
1−<?xml version="1.0" encoding="utf-8"?>
2−<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3− <background android:drawable="@drawable/ic_launcher_background" />
4− <foreground android:drawable="@drawable/ic_launcher_foreground" />
5− <monochrome android:drawable="@drawable/ic_launcher_monochrome" />
6−</adaptive-icon>
app/src/main/res/mipmap-hdpi/ic_launcher.webpnew file

Binary file not shown.

app/src/main/res/mipmap-mdpi/ic_launcher.webpnew file

Binary file not shown.

app/src/main/res/mipmap-xhdpi/ic_launcher.webpnew file

Binary file not shown.

app/src/main/res/mipmap-xxhdpi/ic_launcher.webpnew file

Binary file not shown.

app/src/main/res/mipmap-xxxhdpi/ic_launcher.webpnew file

Binary file not shown.