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

feat(android): Implement round and adaptive icon #340

Merged
merged 3 commits into from Sep 23, 2017
Merged

feat(android): Implement round and adaptive icon #340

merged 3 commits into from Sep 23, 2017

Conversation

machour
Copy link
Member

@machour machour commented Sep 19, 2017

In this PR:

  • Updated the original squared icon to a squircle one
  • Added roundIcon for devices supporting it since 7.1
  • Added an adaptive icon in mipmap-anydpi-v26
  • Updated compile/buildTools/target SDK versions

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

compileSdkVersion 23
buildToolsVersion "23.0.1"
compileSdkVersion 26
buildToolsVersion '25.0.3'
Copy link
Member

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.

Copy link
Member Author

Choose a reason for hiding this comment

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

oopsy, updated

@machour
Copy link
Member Author

machour commented Sep 19, 2017

Here's what the progressive icon looks like among other icons in Android O:

screen shot 2017-09-19 at 8 00 05 pm

@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? 🤔

compileSdkVersion 23
buildToolsVersion "23.0.1"
compileSdkVersion 26
buildToolsVersion '26.0.1'
Copy link
Member

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? 😄

Copy link
Member Author

Choose a reason for hiding this comment

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

** curses Android Studio **

Copy link
Member

Choose a reason for hiding this comment

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

Heh, thank you 👍

Copy link
Member

@lex111 lex111 left a comment

Choose a reason for hiding this comment

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

Looks nice!

Copy link
Member

@housseindjirdeh housseindjirdeh left a 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.

@housseindjirdeh housseindjirdeh merged commit 0fd1a61 into gitpoint:master Sep 23, 2017
@machour machour deleted the android-icon branch September 23, 2017 17:54
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.

None yet

4 participants