Android Question Change icon at Runtime

scsjc

Well-Known Member
Licensed User
Someone knows some way to change the icon from Runtime, I've seen that in version 9 of Android, the clock icon rotates the hands and sets the time.

20190322_061926-540x1110.jpg
 

scsjc

Well-Known Member
Licensed User
I guess that it is a system app. I don't see how you can change the icon like this.

You can create multiple activities and use setComponentEnabledSetting to enable or disable a different activity each time. It is likely to cause a lot of problems.
Sure you are right, and it is a system application.
I was surprised to see it :)
 
Top