-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adaptive icon does not cover default black background #522
Comments
we have the same issue, generated icons for android are useless |
Same here... |
Same :) |
Same here! |
I didn't get the workaround, the inset... I'm using capacitor and I'm experiencing the 1px black line at right and botton of icon. |
I did the workaround, but have to manually edit while capacitor-assets is not fixed.
So, after the changes to 16.6% it worked! |
This worked for me! |
PR #534 will fix this, where are you ionic devs? |
I noticed small issue when trying to setup splash screen on Android >= 12.
Namely there's a little bit of black color on the edges of the icon.
The issue is related with #424 which added
android:inset="16.7%"
to theforeground
&background
.I suppose that due to calculation inaccuracy (1/6 ≈ 16.7%), the background is too small and doesn't cover default background that lies underneath.
Workaround
Change:
android:inset="16.7%"
toandroid:inset="16.6%"
Actual (left), Expected (right)
Here's a StackOverflow thread that describes how are icons rendered:
It links to android source that explains where does that black color come from:
The text was updated successfully, but these errors were encountered: