Tuesday, May 25, 2010

[android-developers] Semitransparent text over VideoView doesn't seem to render properly

I have a TextView with partial opacity (textColor="#55ffffff") over a
VideoView, all within a relative layout. I expect the text to be a
light white shading over the video. However, once the video starts
playing, the text looks a dark, dull gray. If I set the text to full
opacity, there is no issue and the text appears solid white.

My guess is that this is some type of optimization to prevent having
to re-alpha blend after every frame update, but I'm not sure. If so,
is there a way to disable it?

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

No comments:

Post a Comment