我要做的是点击按钮,激活3 TranslateAnimation
case R.id.button18Holes:
//*********************************//
//***LAUNCHES ACTUAL APPLICATION***//
//*********************************//
TranslateAnimation slide = new TranslateAnimation(0, -500, 0,0 );
slide.setDuration(1000);
slide.setFillAfter(true);
buttonHelp.startAnimation(slide); <-- first
button9Holes.startAnimation(slide); <-- should start slightly after first
button18Holes.startAnimation(slide); <-- should start slightly after second
//This should wait until all animations are complete
Intent myIntent = new Intent(src.getContext(), EasyPar.class);
startActivityForResult(myIntent, 0);
break;
不确定如何使这些效果一个接一个地滑出屏幕。