2

I have a favourite icon on the ApplicationBar that I want to change to yellow image when the item is favourited. This works well on Dark Theme but when the user change to White Theme, it becomes black all the time. Actually, the color changes to yellow for around 1 second and then change to black.

I am testing on Windows Phone 7 Emulator, not test with device yet

vodkhang
  • 18,639
  • 11
  • 76
  • 110
  • There is some automatic conversion which is done to icons when running in the light theme. Can you show your actual code (and images)? Also not that "Metro" only uses a single colour for icons in the app bar – Matt Lacey Dec 27 '10 at 12:41

1 Answers1

9

The best answer I have found for this so far is from the UI Design and Integration Guide for Windows Phone 7 v2.0. It says colored icons cause the Application Bar to display unpredictably.

Extract below:

"Application Bar Icon images should be 48 pixels by 48 pixels and have a white foreground on a transparent background using an alpha channel. The Application Bar will colorize the icon according to the current style settings and colored icons can cause this effect to display unpredictably."

Alags
  • 228
  • 1
  • 7