This Sample App implments the approach mentioned in my Medium article at: https://medium.com/@callmeryan/changing-the-android-app-icon-programmatically-c913550330d
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.
This Android App project was built using Android Studio Hedgehog | 2023.1.1 Canary 14