How to create Adaptive App Icons for Android Application ?

Starting Android 8.0 (API level 26) android supports adaptive launcher icons, which can display a variety of shapes across different device models. When a launcher requests an app icon, the framework either returns “android:icon” or “android:roundIcon” as defined in AndroidManifest.xml hence we need to declare both types of icon, “icon” and “roundIcon” in manifest and then we can use Android’s Asset Studio to generate other adaptive images as described below.

The App icons for Android application can be created using Android Studio’s Image Asset as below.

  • Open you Application Project with Android Studio.
  • From left file browsing window, right click on “res” folder available at “app->src->main->res” and then click “New” and then “Image Asset”

From this you will get, “Configure Image Asset” window like below, there select the image you want to use as App icon from “Source Asset” -> Path. Please use 512*512 image as source asset since Studio with then resize for all other resolutions automatically.

App Icon

Here you may need to use “Scaling -> Resize” to adjust the icons withing square & circles.

Once scaling is done as needed, click “Next”, in opened window you will see preview of how icons will get created, click “Finish” there.

Done.. your app is ready with Adaptive App icons, and you can see all those at following files in source code,

Camera Lucida App: A Guide To Impro... x
Camera Lucida App: A Guide To Improving Your Drawing

Leave a Comment

Sign up to our newsletter!

ADB Commands Android Android Applications Android Build system Application Libraries Application Stack / User Interface Bash / Shell Scripts Bluetooth driver Cloud Technologies Commands and Packages Compilation Content Management System Core Kernel C Programs Development, Debugging and Performance Tools Development and Build Development Environment Setup Django & REST Api Errors & Failures Git Hardware Platforms HTML JAVA Programs Linux, OS Concepts and Networking Linux Device Drivers Linux Host, Ubuntu, SysAdmin Linux Kernel Linux Networking Middleware Libraries, HAL Multimedia NDK / Middleware / HAL Operating System Concepts PHP Programming Languages Scripting and Automation Search Engine Optimisation ( SEO ) Social Media Source Code Management ( SCM ) System Administration, Security Testing and Debugging Uncategorized Web Design and Development Website Hosting Wordpress Yocto Embedded Linux