Repository navigation
Sharper app icon with Android themed icon, matching iOS icon and splash - #85
Merged
Merged
Conversation
… to match The Android adaptive icon layers were 192px PNGs stretched to 432px on xxxhdpi screens, so the launcher icon looked soft. The layers are now vector drawables, sharp at any size, with a monochrome layer for Android 13+ themed icons. The bot is drawn bolder (thicker antenna, bigger visor and eye, darker lips, ground shadow, teal glow) and everything comes from one source, scripts/icons/bot.mjs, via scripts/icons/make-icons.mjs: iOS 1024 icon, legacy Android icons, Android and iOS splash images, and the HTML splash in index.html. Android 12+ launch screen now uses the night sky colour and the bot instead of the system default. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HnC1cy8tSSu3EwgBvq9Q4A
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Kevin · project thread
Why the icon looked soft
On Android 8+, the adaptive icon layers were 192px PNGs while the largest launcher density needs 432px, so the phone stretched them. The layers are now vector drawables, which stay sharp at every size.
What changed
scripts/icons/bot.mjs: thicker antenna, bigger visor and eye, darker lips under the head and body, a ground shadow and a soft teal glow on the dusk sky.drawable/ic_launcher_foreground.xml,ic_launcher_background.xml) plus a monochrome layer (ic_launcher_monochrome.xml) so Android 13+ themed icons show a one-colour LoopBot. The bot sits inside the 66dp safe circle, so circle, squircle and rounded-square masks all work.ic_launcher.png/ic_launcher_round.pngfor Android 7 re-rendered. Removed the old 192px layer PNGs and Capacitor's unused sample robot (drawable-v24).windowSplashScreenBackground,windowSplashScreenAnimatedIcon) instead of the system default.assets/sources and the HTML splash inindex.htmlall use the new bot, so the hand-off stays seamless.node scripts/icons/make-icons.mjsregenerates everything (needs Playwright).Preview: before/after, themed icon and small sizes are in the project files under
loopbot-icon/.Testing
vite buildpasses; all edited XML is well-formed (xmllint).Generated by Claude Code