Friedolino
Friedolino

Reputation: 114

Android: Homescreen Icons different than Menu Icons

Is it possible in Android to declare a HomescreenIcon for the user e.g. colored and inside the application the same Icon shown in the Action Bar just white?

In my case these are two different images i want to show. I defined the icon inside the AndroidManifest.xml but i can not find any option to change it for the ActionBar. It is always the same.

Upvotes: 1

Views: 60

Answers (1)

Szymon
Szymon

Reputation: 43023

Yes, you can use android:logo in your manifest to provide the action bar image and android:icon to provide home screen icon. Both of them should be set to a drawable resource and can point to a different resources.

Upvotes: 1

Related Questions