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
feat(android): Implement round and adaptive icon #340
Conversation
android/app/build.gradle
Outdated
compileSdkVersion 23 | ||
buildToolsVersion "23.0.1" | ||
compileSdkVersion 26 | ||
buildToolsVersion '25.0.3' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can the same up to 26 versions raise? I do not know for sure, just wondering.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oopsy, updated
Here's what the progressive icon looks like among other icons in Android O: @housseindjirdeh do we give it more margin to make it look like the rounded icon on https://gitpoint.co/? or do we do the opposite? 🤔 |
android/app/build.gradle
Outdated
compileSdkVersion 23 | ||
buildToolsVersion "23.0.1" | ||
compileSdkVersion 26 | ||
buildToolsVersion '26.0.1' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll be pedantic, but let's change the quotes to double, as it used to be? 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
** curses Android Studio **
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Heh, thank you 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks nice!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks so great 😍
I think it works the way you have it, most of the adaptive icons seem to have a little margin (not nearly as much as https://gitpoint.co) so I think this fits. We can definitely reduce the margins on the site logo a bit to match if you like.
In this PR:
roundIcon
for devices supporting it since 7.1mipmap-anydpi-v26
Since we're using
roundIcon
now, I was forced to duplicate the Android-O icon XML file,or else Android O kept using the PNGs provided in roundIcon.
Fixes #297 and #275