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 being too small #828

Merged
merged 1 commit into from
Aug 29, 2019
Merged

fix adaptive icon being too small #828

merged 1 commit into from
Aug 29, 2019

Conversation

javl
Copy link
Contributor

@javl javl commented Aug 25, 2019

Fixes the adaptive icon being too small by using 108dp instead of the old 24dp, as per this official Android guide: https://developer.android.com/guide/practices/ui_guidelines/icon_design_adaptive

Note: according to the guide 108dp is the default for Android >7.1. I do not have access to any devices with version <=7.1 so did not test on those.

Should close #827

@dmfs
Copy link
Owner

dmfs commented Aug 25, 2019

Oh, I was always wondering why that happened. Thanks for fixing this. I still need to test this on a pre 7.1 device before merging though.

@javl
Copy link
Contributor Author

javl commented Aug 26, 2019

Just realized I still have a Nexus 7 tablet with Android 5.1.1

First image is the icon after installing the app from the store (google photos app shows as size reference), the second image is after the update. Seems the older version of Android use the .png files that are in the repo, instead of the adaptive .xml file (the green blob is an edit I made to make sure I was seeing the updated image).

MVIMG_20190826_105623~2
MVIMG_20190826_110734~2

Copy link
Owner

@dmfs dmfs left a comment

Choose a reason for hiding this comment

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

👍

@dmfs dmfs merged commit 8092225 into dmfs:master Aug 29, 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.

Provide larger icon in app overview
2 participants