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

[Feature] VectorDrawable icon, Themed / Monochrome Launcher icon #313

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

sebastien46
Copy link

@sebastien46 sebastien46 commented Dec 5, 2023

- Added a VectorDrawable version of the ic_launcher_foreground icon using the new Next Icon:

ic_launcher_foreground_beta

- Replaced the Bitmap Version of ic_launcher_foreground with it's VectorDrawable counterpart:

image

- Added a Themed / Monochrome launcher icon:

image

- Regenerated baked bitmaps with the new ic_launcher_foreground

@AnaelMobilia
Copy link
Owner

Bonjour @sebastien46 ,

Qu'apportent ces changements d'icônes du launcher ?

A noter que pour les API <24, cela ajoute des dépendances supplémentaires, donc du poids à l'apk.

To support vector drawable and animated vector drawable on devices running platform versions lower than Android 5.0 (API level 21), or use fillColor, fillType and strokeColor functionalities below Android 7.0 (API level 24), [VectorDrawableCompat](https://developer.android.com/reference/androidx/vectordrawable/graphics/drawable/VectorDrawableCompat) and [AnimatedVectorDrawableCompat](https://developer.android.com/reference/androidx/vectordrawable/graphics/drawable/AnimatedVectorDrawableCompat) are available through two support libraries: support-vector-drawable and animated-vector-drawable, respectively.

Bonne journée,
Anael

@sebastien46
Copy link
Author

sebastien46 commented Dec 18, 2023

Qu'apportent ces changements d'icônes du launcher ?

Pour les API <=26, cela ajoute le support des Icônes Adaptives et remplace le mipmap utilisé par l'icône par un vecteur VectorDrawable / svg, les API en dessous utilisent les mipmaps normaux comme avant, à part si la méthode AndroidX que vous mentionnez est utilisée.
Si vous le souhaitez, je peux réinstaurer les anciens mipmaps pour ces appareils.
Pour les API <= 33, le support des Icônes à Thème est implémenté.

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

2 participants