androidandroid-drawableandroid-imageandroid-icons

How to change the ic_launcher_round.png folder content?


I am having difficulties in changing the icon of an Android app. I have followed these instructions:

  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.


Solution

  • The latest Android Studio generates round icons for you: Right-click the res folder, select Image Asset:

    round, square, etc, icon formats 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).