Skip to content

Commit b529317

Browse files
committed
fix: use the supplied launcher artwork
The old icon was the source art flattened into an opaque 432px square, which hid the background layer entirely and left launchers sliding a black rectangle during parallax. The artwork now goes in as drawn. Android only ever shows the central 72 of the 108dp canvas, so it is padded to that ratio in matched black: the mask crops the padding and never the composition. Ships as real density buckets, with a monochrome silhouette traced from the ghost so themed icons do not fall back to Android's generated one.
1 parent 095c6d7 commit b529317

14 files changed

Lines changed: 12 additions & 7 deletions
-126 KB
Binary file not shown.
-8.82 KB
Binary file not shown.
Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
The supplied artwork, placed rather than redrawn. Android only ever shows
4+
the central 72 of the 108dp canvas, so the art is padded out to that ratio
5+
in matched black: the mask crops the padding, never the composition.
6+
7+
It sits in the background layer because the art is one flat picture. A
8+
foreground layer would only earn its keep if the ghost were separate, and
9+
splitting it would mean repainting the vignette underneath.
10+
-->
211
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3-
<background android:drawable="@color/ic_launcher_background" />
4-
<!-- The exact android-spoo.png art, untouched (resize only). -->
5-
<foreground android:drawable="@drawable/ic_launcher_full" />
6-
<!-- Themed icons need an alpha silhouette; opaque art renders blank. -->
7-
<monochrome android:drawable="@drawable/ic_launcher_mono" />
12+
<background android:drawable="@mipmap/ic_launcher_background" />
13+
<foreground android:drawable="@android:color/transparent" />
14+
<monochrome android:drawable="@mipmap/ic_launcher_monochrome" />
815
</adaptive-icon>
7.11 KB
Loading
1.82 KB
Loading
3.7 KB
Loading
1.24 KB
Loading
12 KB
Loading
2.52 KB
Loading
26.8 KB
Loading

0 commit comments

Comments
 (0)