fix(android): use the Omnigent creature mark for the notification icon - #4623
Open
btli wants to merge 1 commit into
Open
fix(android): use the Omnigent creature mark for the notification icon#4623btli wants to merge 1 commit into
btli wants to merge 1 commit into
Conversation
Contributor
|
@btli This PR is a Bug fix, Feature, or UI / frontend change but the Demo section is missing or only contains a placeholder. These change types require a screenshot or screen recording so reviewers can see the new behaviour without checking out the branch. Please update the Demo section with:
Use |
Android status-bar small icons are system-tinted alpha masks, so the launcher artwork's pupils and nested sub-creature disappear at notification size. Replace the reused launcher paths with a purpose-built five-lobed silhouette and bold eye cutouts that remain legible when downsampled. Signed-off-by: Bryan Li <bryan.li@gmail.com>
btli
force-pushed
the
fix/android-notification-icon
branch
from
August 12, 2026 03:50
fa4c79d to
08f3493
Compare
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.
Related issue
Fixes #4622
Summary
Android status-bar small icons are system-tinted monochrome alpha masks: color and fine interior detail are discarded. The previously shipped icon was a generic isometric cube, while reusing the full launcher creature mark was also rejected because its pupils and nested sub-creature disappear entirely at 24dp.
This ships a purpose-built five-lobed creature silhouette with bold eye cutouts that survive at status-bar size. The drawable is now one 586-character path instead of the reused 4,332-character path, which also clears Android lint's
VectorPath“very long vector path” warning.ELI5: Android treats the small icon like a stencil, so this uses one simple creature-shaped stencil with two large eye holes instead of shrinking detailed artwork until it disappears.
Test Plan
PATH="$PWD/.venv/bin:$PATH" pre-commit run --files web/android/app/src/main/res/drawable/ic_notification.xml— passed all applicable hooks.web/android:JAVA_HOME=/opt/homebrew/opt/openjdk@21 ANDROID_HOME="$HOME/Library/Android/sdk" ./gradlew :app:lintDebug— BUILD SUCCESSFUL in 14 seconds; 29 tasks completed or were up to date.evenOdd, rasterized it at 96px, 48px, 24px, and 16px, and compared each render against approved candidate B with ImageMagick.magick compare -metric AEreturned0at every size.Demo
24px system-tinted alpha-mask view (shown enlarged):
96px detail view:
Previous cube vs. purpose-built creature glyph:
Type of change
Test coverage
Coverage notes
This is a static VectorDrawable asset, so automated unit, integration, and E2E coverage is not applicable. Manual verification covered Android resource linting, exact raster comparison against the approved design at four sizes, alpha-mask behavior, viewport containment, and visual legibility of the silhouette and eye cutouts at 24px and 16px.
Changelog
Android notifications now use a legible Omnigent creature icon in the status bar.