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

Use vector drawable for app icon #7197

Merged
merged 1 commit into from
Sep 28, 2023
Merged

Use vector drawable for app icon #7197

merged 1 commit into from
Sep 28, 2023

Conversation

cketti
Copy link
Member

@cketti cketti commented Sep 26, 2023

Remove shadows and semi-transparent layers on top of the app logo. This makes for a less complex image that can be an Android vector drawable.

Before After
K-9_Mail-old K-9_Mail-new

Icons used in Compose UI modules haven't been updated. This will be done in a follow-up pull request.

Fixes #6801

@cketti cketti requested a review from wmontwe September 26, 2023 12:11
Copy link
Member

@wmontwe wmontwe left a comment

Choose a reason for hiding this comment

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

Nice, I like the updated icon.

The only* difference between the debug and release icon are 3 color definitions:

  • #ff1744 vs #5917ff
  • #ff4569 vs #7a45ff
  • #d81a3d vs #531ad8

They could be replaced by a color resource definition to easily recolor them for the different app variants.

*Just noticed that some of the strokeWidth definitions marginally differ between both icons, rounding error?

        android:strokeWidth="6"
        
        vs
        
        android:strokeWidth="5.99999952"

Remove shadows (using blur) from the logo. This allows us to use a vector drawable as app icon.
@cketti
Copy link
Member Author

cketti commented Sep 27, 2023

I updated the vector drawable to use color references.

Interestingly, the stroke width of most paths seems to be irrelevant. At some point we might want to clean up the source SVG to set those to 0.

@cketti cketti merged commit ce9704b into main Sep 28, 2023
2 checks passed
@cketti cketti deleted the simplify_app_icon branch September 28, 2023 08:44
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.

splash screen is blurry
2 participants