I have a static background image, and a foreground that needs to be
animated. I tried a couple different approaches but the animation
seemed choppy.

One thing I did was having 2 different views, constantly calling
invalidate() on the foreground view. Another was to have only 1
surfaceview, redrawing the background image and the foreground on each
step of the animation. While a surfaceview offers an optimal way to do
heavy-duty animation, having to redraw the background every time kills
the performance. Neither produced a smooth animation.

What is the best way to perform this kind of animation--static
background and animated foreground?

Many thanks.
--~--~---------~--~----~------------~-------~--~----~
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