[android-developers] Re: ViewGroup, Views and Animation

2009-02-14 Thread Romain Guy
Animations have a repeat mode, no need to do it yourself. Also, why wouldn't ViewGroup handle the startOffset? From your email, I don't really understand what your problem is exactly :) On Sat, Feb 14, 2009 at 3:52 PM, mobilek...@googlemail.com wrote: > > Hi, > I have a few views and animations

[android-developers] Re: ViewGroup, Views and Animation

2009-02-14 Thread mobilek...@googlemail.com
Ok, well I'm a bit new to animations on android, and wasn't sure if ViewGropus was the right path for me. Btw how would you set the repeat mode for an animation? I've tried the java way but it didn't work. On Feb 14, 11:57 pm, Romain Guy wrote: > Animations have a repeat mode, no need to do it y

[android-developers] Re: ViewGroup, Views and Animation

2009-02-14 Thread Romain Guy
Use Animation.setRepeatMode() and Animation.setRepeatCount(). On Sat, Feb 14, 2009 at 4:31 PM, mobilek...@googlemail.com wrote: > > Ok, well I'm a bit new to animations on android, and wasn't sure if > ViewGropus was the right path for me. Btw how would you set the repeat > mode for an animation

[android-developers] Re: ViewGroup, Views and Animation

2009-03-05 Thread ursnavin
Hi all, I have got a similar problem. Suppose,If the user long presses a key,the animation should run till the keyup... For this i tried starting the animation on a new thread with a lock on a flag variable,till the first animation ends. Now when the user is still pressing his key,the thread i