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

前端 未结 5 1091
感情败类
感情败类 2020-11-30 06:11

I\'ve been trying to get android to dither the background image of an activity - so far without success. I have no clue what\'s wrong.

This is what I did:

Th

5条回答
  •  夕颜
    夕颜 (楼主)
    2020-11-30 06:39

    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.

提交回复
热议问题