Friday, June 24, 2011

[android-developers] Can you avoid redrawing a view that is partially obscured by another view?

Here is my situation: I have two views, a front view and a back view.

The back view is slow to redraw, and updates only occasionally (once a second or so).  The front view is transparent in most parts, fast to draw, and updates at around 60 fps.  Is there any way I can make this work?  It seems like if I invalidate the front view, it will also cause the back view to be invalidated, which means a bunch of expensive redrawing.

Thanks so much,
Justin

--
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