Skip to content

Add monochrome drawable (i.e. Android 13 themed icon)

Summary

Since a lot of devices now have Android 13, some users might want support for the new themed app icons. This adds support for these, by adding a monochrome drawable (just the default icon with only the phone border and K) in res/drawable-v24/ic_launcher_monochrome.xml and then referencing this in res/minimap-anydpi-v26/ic_laucher(_round).xml.

Test Plan

This can be tested by simply compiling and installing the app as usual on any device running Android 13. After installing the app, the option for an adaptive colour theme will need to be enabled:

  • OneUI5: Long-press home screen > Wallpaper and Style > Colour palette > enable colour palette and check "Apply palette to app icons"
  • Pixel: Long-press home screen > Wallpaper & style > check "Themed icons"

The app icon should now follow the system theme (on some devices only on home screen, on others both home screen and app drawer).

Screenshot_20221204_231210

Merge request reports

Loading