Skip to content

Use the supplied launcher artwork - #10

Merged
Zingzy merged 1 commit into
mainfrom
fix/launcher-icon
Aug 29, 2026
Merged

Use the supplied launcher artwork#10
Zingzy merged 1 commit into
mainfrom
fix/launcher-icon

Conversation

@Zingzy

@Zingzy Zingzy commented Aug 29, 2026

Copy link
Copy Markdown
Member

The launcher icon was the source art flattened into an opaque 432px square. That hid the background layer completely, so <background> never rendered and launchers parallaxed a black rectangle across it during scroll and press, with the baked vignette cropped differently by every mask.

The artwork now goes in as drawn, with no edit to the composition.

The one thing that needed care

Android only ever shows the central 72 of a 108dp canvas. Dropping a finished square straight in means a third of it disappears and the subject balloons: measured, the ghost is 58% of the supplied art, which would have become 87% of the visible area, jammed against the mask.

So the art is padded outward to that ratio in #0C0C0C, matching its own measured edge tone. The mask crops the padding I added and nothing that was drawn. The ghost lands at 58% of the visible area, inside the 66dp safe circle.

Also

Ships as real density buckets rather than one oversized bitmap the system rescales on every draw, about 128KB total. The monochrome layer is a silhouette traced from the ghost at the same position and scale, verified within 2px of the original bounds. Without it Android generates its own for themed icons and the result is reliably bad.

Verified on the emulator in the app drawer and rendered under circle, squircle, rounded-square, and themed masks: the ghost is whole in all four. Lint also caught the now-unused ic_launcher_background colour, which is removed.

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.
Copilot AI lite review requested due to automatic review settings August 29, 2026 10:27

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@coderabbitai

coderabbitai Bot commented Aug 29, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 5 minutes.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 32ce5a84-8949-4686-94e9-9b6d89eefee9

📥 Commits

Reviewing files that changed from the base of the PR and between 095c6d7 and b529317.

⛔ Files ignored due to path filters (12)
  • app/src/main/res/drawable-nodpi/ic_launcher_full.png is excluded by !**/*.png
  • app/src/main/res/drawable-nodpi/ic_launcher_mono.png is excluded by !**/*.png
  • app/src/main/res/mipmap-hdpi/ic_launcher_background.png is excluded by !**/*.png
  • app/src/main/res/mipmap-hdpi/ic_launcher_monochrome.png is excluded by !**/*.png
  • app/src/main/res/mipmap-mdpi/ic_launcher_background.png is excluded by !**/*.png
  • app/src/main/res/mipmap-mdpi/ic_launcher_monochrome.png is excluded by !**/*.png
  • app/src/main/res/mipmap-xhdpi/ic_launcher_background.png is excluded by !**/*.png
  • app/src/main/res/mipmap-xhdpi/ic_launcher_monochrome.png is excluded by !**/*.png
  • app/src/main/res/mipmap-xxhdpi/ic_launcher_background.png is excluded by !**/*.png
  • app/src/main/res/mipmap-xxhdpi/ic_launcher_monochrome.png is excluded by !**/*.png
  • app/src/main/res/mipmap-xxxhdpi/ic_launcher_background.png is excluded by !**/*.png
  • app/src/main/res/mipmap-xxxhdpi/ic_launcher_monochrome.png is excluded by !**/*.png
📒 Files selected for processing (2)
  • app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
  • app/src/main/res/values/colors.xml

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Zingzy
Zingzy merged commit 902a563 into main Aug 29, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants