Android: How to specify an Android application icon

This page shows how to specify the app icon for your Android application. As shown, you need to create an app icon in different sizes for each phone/tablet size you want to support, then add a link like this in your AndroidManifest.xml configuration file:

android:icon="@drawable/icon_name"

In my case I’m working on a little test/demo app and have an app icon named motify.png, so I copied that file into the res/drawable directory and set this configuration string like this:

android:icon="@drawable/motify"

I also had to uninstall my app from the Android emulator and then re-install it before I saw the app icon in the list of Android apps, but once I did that it worked as expected.

Photo D8