Hi all.

I load an 'alpha enabled' png icon and use it in the layout xml file.

In simulator everything looks excellent !
But when I try it on the Device (des...@froyo 2.2) it looks BAD :(

The icon itself is ok but the fading out alpha (shade) looks like it's
been rendered in cga graphics :)

The shade fades out in steps rather then linearly making an aureola
effect.

The iPhone experts working beside me informed me that iPhone used to
have this problem and the source was premultiplied alpha done
automagically by the environment.

iPhone (so they tell me) later on offerred an option to turn
premultiplication off, and the issue was closed.

Here I go rambling...

1) In short, does anyone know if premultiplication really is causing
my problem ?
2) What should I tell my designer to use to create nice fade out/shade
effect ?
3) can i add shade to my icons in XML / code ?
4) I will try adding the png in raw (and changing the extension, just
in case) and load it at runtime
5) Any other suggestions ?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to