Skip to content

Fix cropped launcher icon - #94

Open
FrankBStack wants to merge 1 commit into
micahlt:mainfrom
FrankBStack:fix/launcher-icon-safe-zone
Open

Fix cropped launcher icon#94
FrankBStack wants to merge 1 commit into
micahlt:mainfrom
FrankBStack:fix/launcher-icon-safe-zone

Conversation

@FrankBStack

Copy link
Copy Markdown

The adaptive icon foreground is the full-size logo, so launchers crop it to the safe zone (only the middle ~66dp of the 108dp canvas is guaranteed visible). On my OnePlus it shows up zoomed in with the edges cut off.

This adds padded foreground + monochrome PNGs with the logo at ~44% of the canvas, regenerates the mipmaps at every density, and points app.config.js at the new files so a future expo prebuild gives the same result. Offsides.png is untouched and still used for the splash screen.

The adaptive icon foreground was the full-size logo, so launchers
cropped it to the safe zone and it looked zoomed in. Added padded
foreground/monochrome assets, regenerated the mipmaps, and pointed
app.config.js at them. Splash still uses Offsides.png.
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.

1 participant