Multiple launcher_icon ?

Former Member
Former Member
Hi

I'm writing an app that should run on multiple device. When exporting the app the compiler complains that the launcher_icon (36x36) is too small for the F3 or F5 and should be 40x40. When I put a 40x40 icon, it fails because the icon is too big for some devices...

How could you specify different sizes of icons ? the only place wher the launcher_icon is mentioned is the manifest.xml file that should not be edited...

Thx
  • You can do this using resource overrides. See the "Overriding Resources" section in the Monkey C Programmer’s Guide.

    Basically, you specify a different launcher icon for each device in a device specific resource file. The manifest just points to the id which you define for each device in it's own resource file.
  • As gasterpod said, using resource overrides will work.

    Something I'll often do is just make the launcher_icon small enough to work with all devices. If it's 30x30 but the device can use 40x40, it gets padded and centered on the device. Also, based on the app type, not all devices use the launcher_icon. For example, for watchfaces, the only device where it's used is the va-hr.