vicktor / XLauncherIcons

Sample App: Changing Launcher Icon Programmatically

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Changing the Android App Icon Programmatically

Complementary Article

This Sample App implments the approach mentioned in my Medium article at: https://medium.com/@callmeryan/changing-the-android-app-icon-programmatically-c913550330d

The Underlying Working Principle

We can create multiple launcher icons by declaring activity-alias elements in AndroidManifest.xml. The effect of changing the app icon is achieved by disabling the current one and enabling a new one.

Requirement

This Android App project was built using Android Studio Hedgehog | 2023.1.1 Canary 14

About

Sample App: Changing Launcher Icon Programmatically

License:Apache License 2.0


Languages

Language:Kotlin 100.0%