android:dither="true" does not dither, what's wrong?

Ran into this problem too today and found and used your solution : Create the png in photoshop with transparency set AND having at least one pixel using the alpha. Actually what i did is set the layer to a 99% opacity. Doesn't affect the colors or anything and make the Android compiler leave my png alone.


Try to put this line

getWindow().setFormat(PixelFormat.RGBA_8888); 

just after super.onCreate() and see if it helps.