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

Fix adaptive icon foreground dimensions #619

Merged
merged 1 commit into from
Feb 18, 2019
Merged

Conversation

ssaqua
Copy link
Contributor

@ssaqua ssaqua commented Feb 16, 2019

Hello, I found the foreground layer drawable is incorrectly sized which causes display issues in certain parts of the system settings. The correct size should be 72dp as per the adaptive icon documentation.

Here are some screenshots to show the effects of the change.

24dp vs 72dp on a Samsung Note 8
image

24dp vs 72dp inside Samsung Secure Folder
image

24dp on API 27 emulator
image

72dp on API 27 emulator
image

@poisdeux
Copy link
Member

Thanks. Never noticed this on my devices... I need a new phone ;).

@SyncedSynapse
Copy link
Member

Yeah, thanks for spotting this - i had wondered why the icon wasn't showing up right in the share panel, but didn't look into it.

I'm going to merge this as is, but i think that the correct dimensions should be 108dp. But for that to work, the vector drawing needed to be restricted to the 72dp area inside that, and i'm not sure it is.

@SyncedSynapse SyncedSynapse merged commit d6b6e81 into xbmc:master Feb 18, 2019
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.

3 participants