The next part of the post will be developed on how to implement the Adaptive icon on Xamarin.

What do we need?

  • Visual Studio (I use Visual Studio for Mac )
  • Android Studio

1 Step
Generate icon in Android Studio.

In the beginning, we need to open Android Studio. The given programming environment has a function for generating icons. A quick and efficient way will give you the necessary graphics.

Open Android Studio. Create a new project.

Next, go to res. t We click the right mouse button. The menu is developing. Go to the New> Image Assest.

After a while, we get a window which is responsible for the configuration of the icon.

Now we will be involved in the creation of the adaptive icon. In my opinion, the process of creating an adaptive icon in Android Studio is unusual. Literally within a few minutes, we can create an application icon. We can set padding, change pictures in foreground parts, add text or simply add colour as a background.

Now I will present a simple configuration of adaptive Icon. As you can see a simple and quick way, you can make your dream icon.

Here we are finishing the game with the process of generating the sprite. The next stage is a configuration in Visual Studio.

2 Step 
Project configuration in Visual Studio. (In my case it will show the configuration of the project for Visual Studio for Mac).

Before starting the configuration in Visual Studio, we will need a generated schedule from Android Studio.

Add  folders with generating icon to Visual Studio

Open project with an Adaptive icon. Next, go to the folder res. We’re expanding the given folder. There is a mipmap folder. The selected folder is marked, double-clicked, the menu will appear. We click on Reveal in Folder. After a moment a window will appear with our icon generators. We select all folders from mipmap to the desktop to be able to quickly get to our files.

Set time open Visual Studio. We are opening the project then we are moving to the Android solution.

The first thing we do is add the icons that we have generated in Android Studio to Visual Studio.

We branch Android’s solution. We find the Resources folder. We click on him. The menu appears to us. Then click on Reveal in Finder. After a while, a window appears to us. All folders that were generated in the AS are moved to this folder.

Sometimes it happens that after updating the file, you do not catch the files right away. The best solution is to add files manually.

Another important thing is the mipmap-anydpi-v26 folder. This folder contains two .xml files. The specified files define backgrounds and foreground elements of our icon. Sometimes it’s like VS does not load this folder. So we have to add to manually.

Adding icons to the project is over. Now the time has come for the final configurations.
We’ll start with the global settings of the Android project.

Set Target Android API 25

In order to be able to see icons round, we must see if our project supports Android 7.1 (API Android 25). If we do not have to change it.

Update data in AndroidManifest.xml 

Another thing is to update the data in AndroidManifest.xml. We must add a flag with a circle icon and android: app Category = maps.

Update Activity Attributes

The last thing we have to do is update the attribute of our application. Typically, defining is in the SpashScren.class. We have to add a definition of a round icon.


As you can see the process of creating an adat icon is simple but time-consuming. It is easy to forget about something and therefore our icon will not look as you would like.