views:

54

answers:

1

HI alll..

Today i again came,,:-( actually i m little bit confused in animation set?? i have more than two or three animations how can i put them in animation set?

and one more thing this is very important..that my image is moving from one place to another through translate animation. but it is not showing the motion and looking like that the image was invisible there and after clicking its visible.. how can i show motion that image is moving from one place to another in translate animation.

A: 

Supposing animation1 and animation2 are TranslateAnimations

    AnimationSet set = new AnimationSet(true);
    set.addAnimation(animation1);
    set.addAnimation(animation2);
    myImageView.startAnimation(set); 
Jorgesys