git.iko.soy/parseable-android
on master help sign in
Restore density-specific WebP launcher icons (#24)
6dc9af2iko
app/src/main/AndroidManifest.xml+1−1
@@ -10,7 +10,7 @@
10 android:allowBackup="false"
10 android:allowBackup="false"
11 android:icon="@mipmap/ic_launcher"
11 android:icon="@mipmap/ic_launcher"
12 android:label="@string/app_name"
12 android:label="@string/app_name"
13− android:roundIcon="@mipmap/ic_launcher_round"
13+ android:roundIcon="@mipmap/ic_launcher"
14 android:supportsRtl="true"
14 android:supportsRtl="true"
15 android:theme="@style/Theme.ParseableAndroid"
15 android:theme="@style/Theme.ParseableAndroid"
16 android:networkSecurityConfig="@xml/network_security_config"
16 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(
62 horizontalAlignment = Alignment.CenterHorizontally,
62 horizontalAlignment = Alignment.CenterHorizontally,
63 ) {
63 ) {
64 Image(
64 Image(
65− painter = painterResource(id = R.drawable.ic_launcher_foreground),
65+ painter = painterResource(id = R.mipmap.ic_launcher),
66 contentDescription = "Parseable logo",
66 contentDescription = "Parseable logo",
67 modifier = Modifier.size(80.dp),
67 modifier = Modifier.size(80.dp),
68 )
68 )
app/src/main/java/com/parseable/android/ui/screens/login/LoginScreen.kt+1−1
@@ -63,7 +63,7 @@ fun LoginScreen(
63 verticalArrangement = Arrangement.Center,
63 verticalArrangement = Arrangement.Center,
64 ) {
64 ) {
65 Image(
65 Image(
66− painter = painterResource(id = R.drawable.ic_launcher_foreground),
66+ painter = painterResource(id = R.mipmap.ic_launcher),
67 contentDescription = "Parseable logo",
67 contentDescription = "Parseable logo",
68 modifier = Modifier.size(120.dp),
68 modifier = Modifier.size(120.dp),
69 )
69 )
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.