My test device is Android 6.0. It uses round icons for all of the apps (except mine). As this is the only test device and my phone doesn't use round icons, I have to make it work on the test device.
I'm trying to make it show a round icon and so far I had no success.
I've set all the ic_launcher_round pics in different resolutions. I've also created an "app_icon_round" pic for "ic_launcher_round.xml" file. All of the ic_launcher_round pics are appropriate size etc... I've checked it multiple times.
ic_launcher_round.xml:
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background" />
<foreground android:drawable="@drawable/app_icon_round" />
</adaptive-icon>
AndroidManifest.xml,:
<application
...
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_round"
...
</application>
I always install it using Android Studio. I noticed when I was working on the splash-screen, that I needed to uninstall the app manually, restart the phone, and then install it via Android Studio to notice changes.
I think I'm missing something minor but don't know what it is. The answers on the internet I saw didn't mention something that I didn't do.
An Android 6.0 device will show your @mipmap/ic_launcher
icon. If you want your launcher icon to be round on Android 6.0, make @mipmap/ic_launcher
be round.
android:roundIcon
is used only on Android 7.1, and adaptive icons are used only on Android 8.0+.