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

[UX] Add monochrome adaptive icons for Android 13 #370

Open
ghusta opened this issue Oct 23, 2023 · 0 comments
Open

[UX] Add monochrome adaptive icons for Android 13 #370

ghusta opened this issue Oct 23, 2023 · 0 comments
Labels
android-13 Android 13 Tiramisu ui/ux

Comments

@ghusta
Copy link
Owner

ghusta commented Oct 23, 2023

See : https://developer.android.com/develop/ui/views/launch/icon_design_adaptive#add-to-your-app

Extract :

<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
    <background android:drawable="@drawable/ic_launcher_background" />
    <foreground android:drawable="@drawable/ic_launcher_foreground" />

    // Starting with Android 13 (API level 33), you can opt-in to providing a
    // <monochrome> drawable.
    <monochrome android:drawable="@drawable/ic_launcher_monochrome" />
</adaptive-icon>
@ghusta ghusta added ui/ux android-13 Android 13 Tiramisu labels Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android-13 Android 13 Tiramisu ui/ux
Projects
None yet
Development

No branches or pull requests

1 participant