Skip to content

Fix adaptive icon foreground pointing to old mipmap webp instead of new drawable#5

Merged
markrcote merged 1 commit into
mainfrom
claude/app-icon-update-issue-INTsZ
Jun 2, 2026
Merged

Fix adaptive icon foreground pointing to old mipmap webp instead of new drawable#5
markrcote merged 1 commit into
mainfrom
claude/app-icon-update-issue-INTsZ

Conversation

@markrcote

Copy link
Copy Markdown
Owner

The anydpi-v26 adaptive icon XMLs referenced @mipmap/ic_launcher_foreground
(the old .webp raster files) rather than @drawable/ic_launcher_foreground
(the updated vector XML), so the new icon was never used on API 26+ devices.

https://claude.ai/code/session_01V7wuwMNtZd7o4iC6raE9NC

…ew drawable

The anydpi-v26 adaptive icon XMLs referenced @mipmap/ic_launcher_foreground
(the old .webp raster files) rather than @drawable/ic_launcher_foreground
(the updated vector XML), so the new icon was never used on API 26+ devices.

https://claude.ai/code/session_01V7wuwMNtZd7o4iC6raE9NC

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes Android adaptive icon configuration on API 26+ by updating the anydpi-v26 adaptive icon XMLs to reference the new vector foreground resource in @drawable instead of the old raster foreground in @mipmap, ensuring the updated launcher icon is actually used on supported devices.

Changes:

  • Update ic_launcher.xml adaptive icon foreground reference from @mipmap/ic_launcher_foreground to @drawable/ic_launcher_foreground.
  • Update ic_launcher_round.xml adaptive icon foreground reference from @mipmap/ic_launcher_foreground to @drawable/ic_launcher_foreground.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml Points adaptive icon foreground to the vector drawable so API 26+ uses the updated icon.
app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml Same fix for the round adaptive icon variant.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@markrcote markrcote merged commit 5e2eb2c into main Jun 2, 2026
3 checks passed
@markrcote markrcote deleted the claude/app-icon-update-issue-INTsZ branch June 2, 2026 15:39
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.

3 participants