I am having difficulties in changing the icon of an Android app. I have followed the instruction:
1.Right click on the project
2.Select New -> Image Asset
3.Select 'Asset Type' as Image
4.Select Path of and .png image
5.Optional: padding, trimming etc.
6.Next and Finish
This changed the icon in minmap/ic_launcher.png
content, however, this does not change the minmap/ic_launcher_round.png
folder content. This results, if the Android System is configured to show round icons, the icons to be shown in this folder: minmap/ic_launcher_round.png
. But I could not find the way of changing the content of that particular folder.
I have tried to select a round shaped image in the Path, but still did not work.
If I set my Android phone to display app launcher icons as square, I see the desired icon, however, if it is changed to round, then I cannot see the my desired icon.
Please guide how to change the round ic_launchers.
An adaptive icon, or AdaptiveIconDrawable , can display differently depending on individual device capabilities and user theming. Adaptive icons are primarily used by the launcher on the homescreen, but can also be used in shortcuts, the Settings app, sharing dialogs, and the overview screen.
It seems that ic_launcher. png is the canonical name for launcher icons for Android apps.
The latest Android Studio generates round icons for you: Right-click the res
folder, select Image Asset:
See https://dev.to/_s_farias/how-to-create-adaptive-icons-for-android-using-android-studio-459h for a more detailed walkthrough (Credit of @Guillaume Raymond).
You can try to go on AnroidManifest.xml
and change path
android:roundIcon="@mipmap/ic_launcher_round"
to
android:roundIcon="@mipmap/ic_launcher"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With