Skip to content
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

Inset fix #534

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Inset fix #534

wants to merge 1 commit into from

Conversation

td-tomasz
Copy link

Change the values in the android:inset attributes to fix the black bars that occur when icons are displayed in some launchers.

…rs that occur when icons are displayed in some launchers
@td-tomasz
Copy link
Author

@mlynch Any news?

@@ -365,10 +365,10 @@ export class AndroidAssetGenerator extends AssetGenerator {
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background>
<inset android:drawable="@mipmap/ic_launcher_background" android:inset="16.7%" />
<inset android:drawable="@mipmap/ic_launcher_background" android:inset="16.666666666666668%" />

Choose a reason for hiding this comment

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

No! it's not enough for API 34. just use 16.6%

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