Skip to content

Adopt the design system launcher icons in the chat sample apps - #6720

Merged
andremion merged 1 commit into
developfrom
andrerego/and-1559-adopt-the-new-chat-sample-app-launcher-icons
Sep 23, 2026
Merged

andremion merged 1 commit into
developfrom
andrerego/and-1559-adopt-the-new-chat-sample-app-launcher-icons

Conversation

@andremion

@andremion andremion commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Goal

Closes AND-1559

Both chat sample apps get the new launcher icons from design-system-tokens (assets/app-icons/chat/).

Implementation

  • Compose sample uses chat/android-compose and UI Components sample uses chat/android.
  • foreground.png is exported as the 72dp visible area. It is padded to the 108dp adaptive layer so the launcher mask does not cut the glyph.
  • Adaptive background is the gradient <shape> from the design README (#0A86FF to #005FFF), replacing the black @color/ic_launcher_background.
  • windowSplashScreenBackground only accepts a color, so the splash uses a new splash_background color (#005FFF, the gradient end color).
  • Legacy ic_launcher and ic_launcher_round stay circles, regenerated as lossless webp at every density. ic_launcher-playstore.png regenerated at 512px.

🎨 UI Changes

Launcher icons and splash screens of both sample apps, on an API 35 emulator.

Before and after launcher icons and splash screens

Testing

  • Install the Compose and UI Components sample apps and check the launcher icon on API 26+ (adaptive) and below (legacy circle).
  • Launch each app and check the splash screen: the new glyph on a blue background.
  • Built assembleDemoDebug for both samples from origin/develop and from this branch, and compared the launcher and splash on an API 35 emulator.
  • spotlessCheck on both sample modules passes. The change is resources only, so there are no unit tests or API dumps to update.

Summary by CodeRabbit

  • Style
    • Updated the launcher icons in both Android sample apps with a blue vertical gradient.
    • Changed both apps’ splash screens to use a blue background, aligning them with the launcher icon colors.

Replace the launcher icons of the Compose and UI Components sample apps
with the artwork from design-system-tokens (chat/android-compose and
chat/android). The exported foreground covers only the 72dp visible
area, so it is padded to the 108dp adaptive layer to stay inside the
launcher mask.

The adaptive background is now the gradient shape from the design
README. The splash screen background only accepts a color, so it gets a
separate splash_background color.
@andremion andremion added the pr:demo-app Changes specific to demo app label Sep 23, 2026
@andremion

Copy link
Copy Markdown
Contributor Author

@CodeRabbit review

@coderabbitai

coderabbitai Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@github-actions

Copy link
Copy Markdown
Contributor

PR checklist ✅

All required conditions are satisfied:

  • Title length is OK (or ignored by label).
  • At least one pr: label exists.
  • Sections ### Goal, ### Implementation, and ### Testing are filled, or the PR is bot-authored.
  • An issue is linked (Linear ticket or GitHub issue), or the PR is bot-authored.

🎉 Great job! This PR is ready for review.

@coderabbitai

coderabbitai Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Advanced

Run ID: beaa15ef-5cce-49d7-a0f8-489810efb200

📥 Commits

Reviewing files that changed from the base of the PR and between e0cf35b and 60d88fa.

⛔ Files ignored due to path filters (2)
  • stream-chat-android-compose-sample/src/main/ic_launcher-playstore.png is excluded by !**/*.png
  • stream-chat-android-ui-components-sample/src/main/ic_launcher-playstore.png is excluded by !**/*.png
📒 Files selected for processing (40)
  • stream-chat-android-compose-sample/src/main/res/drawable/ic_launcher_background.xml
  • stream-chat-android-compose-sample/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
  • stream-chat-android-compose-sample/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
  • stream-chat-android-compose-sample/src/main/res/mipmap-hdpi/ic_launcher.webp
  • stream-chat-android-compose-sample/src/main/res/mipmap-hdpi/ic_launcher_foreground.webp
  • stream-chat-android-compose-sample/src/main/res/mipmap-hdpi/ic_launcher_round.webp
  • stream-chat-android-compose-sample/src/main/res/mipmap-mdpi/ic_launcher.webp
  • stream-chat-android-compose-sample/src/main/res/mipmap-mdpi/ic_launcher_foreground.webp
  • stream-chat-android-compose-sample/src/main/res/mipmap-mdpi/ic_launcher_round.webp
  • stream-chat-android-compose-sample/src/main/res/mipmap-xhdpi/ic_launcher.webp
  • stream-chat-android-compose-sample/src/main/res/mipmap-xhdpi/ic_launcher_foreground.webp
  • stream-chat-android-compose-sample/src/main/res/mipmap-xhdpi/ic_launcher_round.webp
  • stream-chat-android-compose-sample/src/main/res/mipmap-xxhdpi/ic_launcher.webp
  • stream-chat-android-compose-sample/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.webp
  • stream-chat-android-compose-sample/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp
  • stream-chat-android-compose-sample/src/main/res/mipmap-xxxhdpi/ic_launcher.webp
  • stream-chat-android-compose-sample/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.webp
  • stream-chat-android-compose-sample/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp
  • stream-chat-android-compose-sample/src/main/res/values/colors.xml
  • stream-chat-android-compose-sample/src/main/res/values/themes.xml
  • stream-chat-android-ui-components-sample/src/main/res/drawable/ic_launcher_background.xml
  • stream-chat-android-ui-components-sample/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
  • stream-chat-android-ui-components-sample/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
  • stream-chat-android-ui-components-sample/src/main/res/mipmap-hdpi/ic_launcher.webp
  • stream-chat-android-ui-components-sample/src/main/res/mipmap-hdpi/ic_launcher_foreground.webp
  • stream-chat-android-ui-components-sample/src/main/res/mipmap-hdpi/ic_launcher_round.webp
  • stream-chat-android-ui-components-sample/src/main/res/mipmap-mdpi/ic_launcher.webp
  • stream-chat-android-ui-components-sample/src/main/res/mipmap-mdpi/ic_launcher_foreground.webp
  • stream-chat-android-ui-components-sample/src/main/res/mipmap-mdpi/ic_launcher_round.webp
  • stream-chat-android-ui-components-sample/src/main/res/mipmap-xhdpi/ic_launcher.webp
  • stream-chat-android-ui-components-sample/src/main/res/mipmap-xhdpi/ic_launcher_foreground.webp
  • stream-chat-android-ui-components-sample/src/main/res/mipmap-xhdpi/ic_launcher_round.webp
  • stream-chat-android-ui-components-sample/src/main/res/mipmap-xxhdpi/ic_launcher.webp
  • stream-chat-android-ui-components-sample/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.webp
  • stream-chat-android-ui-components-sample/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp
  • stream-chat-android-ui-components-sample/src/main/res/mipmap-xxxhdpi/ic_launcher.webp
  • stream-chat-android-ui-components-sample/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.webp
  • stream-chat-android-ui-components-sample/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp
  • stream-chat-android-ui-components-sample/src/main/res/values/colors.xml
  • stream-chat-android-ui-components-sample/src/main/res/values/themes.xml

Included review availability: Your plan provides up to 4 included reviews per hour; 3 remain after this review.


Walkthrough

Both Android sample apps now use blue gradient backgrounds for adaptive launcher icons. Their splash screen themes use a blue background color.

Changes

Sample app backgrounds

Layer / File(s) Summary
Launcher icon backgrounds
stream-chat-android-compose-sample/src/main/res/drawable/ic_launcher_background.xml, stream-chat-android-compose-sample/src/main/res/mipmap-anydpi-v26/ic_launcher*.xml, stream-chat-android-ui-components-sample/src/main/res/drawable/ic_launcher_background.xml, stream-chat-android-ui-components-sample/src/main/res/mipmap-anydpi-v26/ic_launcher*.xml
Both apps define a gradient from #0A86FF to #005FFF and reference the drawable from their adaptive icons.
Splash screen backgrounds
stream-chat-android-compose-sample/src/main/res/values/colors.xml, stream-chat-android-compose-sample/src/main/res/values/themes.xml, stream-chat-android-ui-components-sample/src/main/res/values/colors.xml, stream-chat-android-ui-components-sample/src/main/res/values/themes.xml
Both apps set splash_background to #005FFF and use it in the splash theme.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Feature

Suggested reviewers: velikovpetar

Merge Risk: ⚪ Minimal · up to 60d88

Both sample apps now have the intended blue gradient launcher backgrounds and solid blue splash backgrounds. The checked resource references are consistent, with no actionable merge risk identified.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title clearly and concisely describes the main change: adopting the design system launcher icons in both chat sample apps.
Description check ✅ Passed The description covers the goal, implementation, UI changes, screenshot evidence, and testing. It is mostly complete, although the contributor checklist, reviewer checklist, and GIF sections are not f…
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

A rabbit sees blue across the screen,
A gradient gleams, bright and clean.
The launcher wears a cobalt hue,
The splash screen joins the color too.
I hop away beneath the blue.

Comment @coderabbitai help to get the list of available commands.

@github-actions

Copy link
Copy Markdown
Contributor

SDK Size Comparison 📏

SDK Before After Difference Status
stream-chat-android-client 6.07 MB 6.07 MB 0.00 MB 🟢
stream-chat-android-ui-components 11.39 MB 11.39 MB 0.00 MB 🟢
stream-chat-android-compose 13.05 MB 13.05 MB 0.00 MB 🟢

@sonarqubecloud

Copy link
Copy Markdown

@andremion
andremion marked this pull request as ready for review September 23, 2026 11:05
@andremion
andremion requested a review from a team as a code owner September 23, 2026 11:05

@gpunto gpunto left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice icons!

@andremion
andremion added this pull request to the merge queue Sep 23, 2026
Merged via the queue into develop with commit 11cef73 Sep 23, 2026
24 of 25 checks passed
@andremion
andremion deleted the andrerego/and-1559-adopt-the-new-chat-sample-app-launcher-icons branch September 23, 2026 13:19
@stream-public-bot stream-public-bot added the released Included in a release label Sep 24, 2026
@stream-public-bot

Copy link
Copy Markdown
Contributor

🚀 Available in v7.12.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr:demo-app Changes specific to demo app released Included in a release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants