-
-
Notifications
You must be signed in to change notification settings - Fork 673
android: Add "round" icon required for SDK 26. #2993
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
Conversation
Yeah, I noticed that. |
Hmm -- well, the bluer one seems closer to what I see on the webapp. Before making a change here, let's discuss in #design. I bet there's some history between these two logos that someone there will be glad to tell us about. In any event, this is very much the kind of thing that we should not do by accident, or silently without making clear in the commit message. How did you generate the new icons -- what kind of input did you provide to Android Asset Studio? |
I used the PNG already in the project that is named |
Cool -- that'll be good information for the commit message. :-) Looks like that one is inside |
It seems I did add this file a year ago. |
To summarize the state of this PR explicitly in one place:
Looking a bit closer at the "which logo" question: looking for logo images in zulip/zulip , they're pretty consistently of the bluer style we're using on Android now. |
Indeed. I agree our iOS logo the one that should change. |
From that #design thread , looks like the best available source image for the current logo is our We actually already have a copy of that in our repo, as Seems like it'll be an open design task for someone to reconstruct a vector, or super-high-res, version of the logo to let us produce exactly-matching logos for all formats across different platforms. If and when someone does that, we can go on to ship that version. |
We absolutely need the 1024x1024 resolution for iOS. Possibly larger, as Apple regularly update their requirements and they just released the major new versions. Also, to make it clear, this is not a blocker for the upgrade to RN 0.56 and RN 0.57 so we don't need to rush it. |
Oh hmm. I'd thought this was a requirement for increasing the On the other hand:
OK, but this shouldn't block updating the icon shapes on Android, regardless of how low or high priority the latter task has. |
There are a couple of things we need to do before merging this: * In `SpinningProgress` work around an RN bug; see zulip#2789. * Update our launcher icon; see zulip#2993. * Test more, and read release notes, to make sure that's it :)
In making a bunch of updates to our Gradle config tonight (see #2789 (comment) ), I found that in fact this does block increasing our And targeting 26 is a requirement for uploading new releases to Google Play after the end of this month. So it may not be directly coupled to the RN upgrade, but it has its own urgency 😉 |
e9e1424
to
d59b1e0
Compare
|
d59b1e0
to
caff2c9
Compare
Differences from the last time reviewed:
|
I see there's a new version of this branch, but because there's no comment from you I'm not sure what the intended status of it is. The new version addresses some of my comments (thanks!). This one is still open:
Also there are about three different things apparently happening here, and the commit message is super confusing:
It's hard to tell that from this commit message. The summary line says "Replace default icon", which I think describes something a previous version of this change did but this version doesn't. |
Oh ha, your comment showed up when I submitted mine. :-) Reading... |
Higher rez images usually start being required at some point. Not sure when the xxxhdi did added, but my guess is that it is used on tablets or phones with super-high dpi. |
OK, thanks for those point-by-point replies! That's very helpful.
OK, cool. The commit message should say we're making this change, though, and why :-) Also
Oh huh, really? The tool you mentioned doesn't sound official. The official thing looks to be this: |
The link to https://romannurik.github.io/AndroidAssetStudio/ was from a couple of official places, and before Android had the Image Asset Studio, they linked to the old version of the |
OK, cool. Would you please address my comments? These are still open:
|
Since Android 7.0 the launcher supports rounded icons. The default icon should be square with rounded corners. Guidelines here: https://material.io/design/iconography/#grid-keyline-shapes This replaces the default round icon with a more rectangular default one and an optional round one. The round one will be used only if that is configured in the phone's launcher. Custom icons versions were added for or Debug build too. Added new icons for: * release build, default icon * release build, rounded icon * debug build, default icon * debug build, rounded icon Added a new high-res icon option in the folders named `xxxhdpi`. Generated with the help of Android Asset Studio: http://romannurik.github.io/AndroidAssetStudio/
About the |
Still, I am rewording it to 'replace default icon's shape' |
Previously, we have used a slightly different source image for the iOS icon. This resulted in a logo with more yellow-ish green. This uses the very same source image that is used for the Android app.
66204f7
to
4d9d517
Compare
Updated the commit message. |
Thanks for this update! I still found this commit message confusing, so I went and looked things up myself. What source were you relying on for your understanding of the guidelines? I don't think this is correct.
I think you're referring to this feature, which is in 7.1: That contains this instruction:
But I don't see And in fact when I test this on Android 8.1 (on an emulated Pixel 2 XL), it looks wrong: I'm going to go ahead and bump |
In fact, it turns out that the status quo is friendlier than we thought! Here's what I wrote as a low-priority item on #3075 :
At some point we should check how a recent version (19.2.102, released today to Play Store prod, has the targetSdkVersion upgrade) looks on some other launchers, and might find some adjustments are needed and circle back to this area. In the meanwhile I'll close this PR; I think that will end up being a separate bit of work. |
Based in part on a series of comments I made on #2993, and on: #3292 (comment)
Since Android 7.0 the launcher supports rounded icons.
The default icon should be square with rounded corners.
Guidelines here:
https://material.io/design/iconography/#grid-keyline-shapes
This replaces the default round icon with a more rectangular
default one and an optional round one. The round one will be
used only if that is configured in the phone's launcher.
Custom icons versions were added for or Debug build too.
Added new icons for:
Added a new high-res icon option in the folders named
xxxhdpi
.Generated with the help of Android Asset Studio:
http://romannurik.github.io/AndroidAssetStudio/