Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 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.

like image 536
Dilshad Abduwali Avatar asked Aug 28 '17 06:08

Dilshad Abduwali


People also ask

What is an adaptive icon?

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.

What is Ic_launcher?

It seems that ic_launcher. png is the canonical name for launcher icons for Android apps.


2 Answers

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).

like image 103
serv-inc Avatar answered Sep 19 '22 11:09

serv-inc


You can try to go on AnroidManifest.xml and change path

android:roundIcon="@mipmap/ic_launcher_round" 

to

android:roundIcon="@mipmap/ic_launcher"
like image 21
Markef Avatar answered Sep 19 '22 11:09

Markef