Hi,

Just call ViewGroup.startLayoutAnimation(). This will perform a
requestLayout(). You can also call scheduleLayoutAnimation() and then
call requestLayout() yourself. Do not call the start method on the
LayoutAnimation object :)

On Wed, Oct 8, 2008 at 1:18 PM, Disco Stu 010 <[EMAIL PROTECTED]> wrote:
> Hello,
> A question on how a Layout animation works with a ViewGroup object such as a
> ListView. As shown in many ApiDemo examples, when the screen is first
> rendered/layed-out, the animation sequence runs nicely. How can one get the
> Layout animation to re-play on demand. I have tried two different mechanisms
> LayoutAnimationController lac = vg.getLayoutAnimation ();
> lac.start();
> as well as a simple
> vg.requestLayout();
> thinking that the latter will simply cause the whole ViewGroup to re-render
> and therefore replay the animation. Neither of these seems to work.
> Any ideas?
> Thanks,
> DS.
>
>
>
> >
>



-- 
Romain Guy
www.curious-creature.org

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