Hello

I'm using a ViewFlipper to change between several views. I initially
have the animation duration set to quite a high value. Then during the
animation, I change the duration to a much lower value. I would expect
this to change the length of the animation that it's currently doing.

Instead it seems to just finish the animation immediately.

I've tried adding an offset to the value to take into account the
amount of time the animation has already been going for, this made no
difference.

I then tried changing the new animation length to a similar value to
the original (1ms different) this seemed to work. So then I changed it
to a slightly lower value and discovered that there is a kind of 'lag'
in between changing the animation duration, where the animation seems
to jump forward and then continue at the new speed. It looks like
(although I'm not 100% sure of this) that the bigger the gap between
the old duration and the new duration, then the longer the 'lag' is.

Any ideas anyone?

Cheers

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