Skip to content

feat: add Material You monochrome launcher icon - #230

Open
0xbrayo wants to merge 1 commit into
ActivityWatch:masterfrom
0xbrayo:themed-launcher-icon
Open

feat: add Material You monochrome launcher icon#230
0xbrayo wants to merge 1 commit into
ActivityWatch:masterfrom
0xbrayo:themed-launcher-icon

Conversation

@0xbrayo

@0xbrayo 0xbrayo commented Aug 16, 2026

Copy link
Copy Markdown
Member

The home-screen icon had no monochrome layer, so Android 13+ launchers with Material You themed icons enabled could not tint it to the wallpaper palette. Lint already flagged this as MonochromeLauncherIcon.

This adds a single-color vector of the ActivityWatch clock mark (ring, Varela Round A/W, hands, hub) and wires it into both adaptive icons:

  • mobile/src/main/res/drawable/aw_launcher_monochrome.xml
  • <monochrome> on aw_launcher and aw_launcher_round

The existing full-color clock icon is unchanged on older Android versions and on launchers that do not theme icons.

To verify: install on Android 13+, enable Themed icons under Wallpaper & style, and confirm the ActivityWatch icon picks up the system accent colors.

Add a monochrome adaptive-icon layer so the home-screen icon can follow
the system wallpaper palette on Android 13+ launchers with themed icons
enabled. The existing full-color clock icon is unchanged elsewhere.
@greptile-apps

greptile-apps Bot commented Aug 16, 2026

Copy link
Copy Markdown

Greptile Summary

Adds a monochrome ActivityWatch clock vector so Android 13+ launchers can apply Material You themed-icon colors.

  • Wires the monochrome drawable into both regular and round adaptive launcher icons.
  • Removes the corresponding resolved warnings from the lint baseline.

Confidence Score: 5/5

The PR appears safe to merge, with no concrete functional or compatibility defects identified.

The new resource is referenced consistently by both manifest-selected adaptive icons, supported by the project’s Android resource tooling, and safely ignored by pre-Android 13 framework parsers.

Important Files Changed

Filename Overview
mobile/src/main/res/drawable/aw_launcher_monochrome.xml Adds a single-color 108×108 clock-mark vector whose geometry stays within the adaptive-icon safe zone.
mobile/src/main/res/mipmap-anydpi-v26/aw_launcher.xml Adds the monochrome layer to the standard adaptive launcher icon without changing its existing foreground or background.
mobile/src/main/res/mipmap-anydpi-v26/aw_launcher_round.xml Adds the same monochrome layer to the round adaptive launcher icon.
mobile/lint-baseline.xml Removes the two MonochromeLauncherIcon suppressions resolved by the new resource references.

Reviews (1): Last reviewed commit: "feat: add Material You monochrome launch..." | Re-trigger Greptile

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.

1 participant