Android change Launcher Icon

1.5k Views Asked by At

I added a new launcher icon to my application by following the path below.

Res> new > Immage Asset 
            

enter image description here

enter image description here

enter image description here

enter image description here

and AndroidManifest.xml look like that :

 <application
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:roundIcon="@mipmap/ic_launcher_round"
        android:supportsRtl="true"
        android:theme="@style/AppTheme">

I want to create a circle logo, but my phone has a square logo, but a circle on the emulator.What could this be caused by? (also the logo of all the apps on my phone is square)

1

There are 1 best solutions below

2
On

You app icon, is basically a background with a mask on top. Different Android manufacturers use different masks. Some use a square image, and some use rounded images. Hence, the result is different for many devices. Looks like your device happens to use a square mask.

A lot of devices have an option to change this in the general settings of your phone. E.g. for One Plus, you can find it under "Customisation | System Icons"