I have a couple icons in my Data Field. My icons have a white background and they look great with a white device background (daytime). But at night, when the device background is black, the icons' background shows up. Ideally I'd like to specify a color to be treated as transparent. Then these icons will look great at night as well.
It seems there is a way to handle transparent colors in the resource XML file. But it didn't work for me. It seems like the resources file is looking for the colors to display (many), not the one color to be treated as transparent?
Also, I save the icons as JPG at an 80% quality level (which looks fine and the size is only 2KB), the color palette for my 3 color graphic expands to a dozen or more colors. If I save that same icon as a bitmap, it is over 20KB.
I could create a 2nd set of icons with a black background and use those when I detect the devices has a black background. But I'd like to get the transparency working. Any issues or tricks to get this working?