Hi,
      How to free the memory created by Animation.....

On Tue, Jul 21, 2009 at 10:25 PM, doubleslash <doublesl...@gmail.com> wrote:

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


-- 
Thank & Regards
Peeyush Varshney

--~--~---------~--~----~------------~-------~--~----~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to