Skip to content

Add monochrome layers to adaptive launcher icons - #1415

Merged
kul3r4 merged 1 commit into
android:mainfrom
Devil1716:fix/issue-1396-monochrome-launcher-icons
Oct 29, 2026
Merged

kul3r4 merged 1 commit into
android:mainfrom
Devil1716:fix/issue-1396-monochrome-launcher-icons

Conversation

@Devil1716

Copy link
Copy Markdown
Contributor

Summary

Adds a <monochrome> layer to the five adaptive launcher icons that Lint flags with MonochromeLauncherIcon.

Motivation

Without a monochrome layer, themed icons break or tint oddly on newer Android (Android 13+ themed icons; Android 16 QPR2+ may tint the color icon).

Fixes #1396

Changes

  • Add <monochrome android:drawable="@drawable/ic_launcher_foreground"/> to:
    • ComposeStarter/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
    • DataLayer/Application/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
    • DataLayer/Wearable/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
    • WatchFacePush/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
    • WearSpeakerSample/wear/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
  • Pattern matches existing WearWidget sample (reuse existing foreground drawable; no new art).

Test plan

  • ./gradlew lint in ComposeStarter, DataLayer, WatchFacePush, WearSpeakerSample
  • Confirm MonochromeLauncherIcon warnings are gone for these five icons
  • Visual check that themed icons look consistent

Notes for reviewers

CLA: Google Contributor License Agreement required for this repo.


Checklist

  • Diff is minimal; no unrelated refactors
  • Matches project style / CONTRIBUTING
  • No secrets, credentials, or proprietary code
  • Commit messages are clear

@google-cla

google-cla Bot commented Oct 26, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@Devil1716
Devil1716 force-pushed the fix/issue-1396-monochrome-launcher-icons branch 3 times, most recently from 3a738b0 to c867ef7 Compare October 26, 2026 03:45
Point the five adaptive icons flagged by MonochromeLauncherIcon at the
existing ic_launcher_foreground drawable, matching WearWidget.

android#1396

Co-authored-by: Sharan S <Devil1716@users.noreply.github.com>
@Devil1716
Devil1716 force-pushed the fix/issue-1396-monochrome-launcher-icons branch from c867ef7 to 684e14a Compare October 26, 2026 03:45
@kul3r4
kul3r4 merged commit 957d899 into android:main Oct 29, 2026
15 checks passed
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.

Launcher icons have no monochrome layer

2 participants