here I am use this code for make scale animation
Animation anim = new ScaleAnimation(1f, 0f, 1f, 0f, b, a);
anim.setDuration(130);
anim.setFillAfter(false);
view.startAnimation(anim);
anim.start();
now my view animation without problem but when i add another animation to it its didn't animate any one and this is my code for make two animation its scale and translate
Animation anim = new ScaleAnimation(1f, 0f, 1f, 0f, b, a);
Animation animT = new TranslateAnimation(0f,b,0f,a);
anim.setDuration(130);
animT.setDuration(130);
anim.setFillAfter(false);
animT.setFillAfter(false);
view.startAnimation(anim);
view.startAnimation(animT);
anim.start();
animT.start();
as we can see i cant use both of the animation as same time how can i solve it without use xml animataion because my variable was changed every time