I’m not sure about immerse mode, but in order to support adaptive icons some things should be change.
- In AndroidManifest.xml the code
android:icon="@drawable/icon"should be replaced withandroid:icon="@mipmap/ic_launcherif our icons start with ic_launcher ( which is default value - ic_launcher.png ) - We should set in project.xml
<template path="templates" if ="android" />and create the following structure in our project :
\templates
\android
\template
\app
\src
\main
\res
\mipmap-mdpi
\mipmap-hdpi
\mipmap-xhdpi
\mipmap-xxhdpi
\mipmap-xxxhdpi
\mipmap-anydpi-v26
\drawable
Directories drawable and mipmap-anydpi-v26 are not mandatory and depends from the icon type . The easy way to create icons is via Adroid Studio ( Right click on res folder and New > Image Asset ) .
Other way will be to set specific variable in project.xml and in compile time to copy structure to lime\7,6,3\templates\android\template\app\src\main\res\ similiar to AndroidManifest.xml at the moment.
Other way to create icons is from here : https://romannurik.github.io/AndroidAssetStudio/icons-launcher.html
That’s are all requirements for adaptive icons.
