1
TranslateAnimation animation = new TranslateAnimation(0.0f, 1552.0f,0.0f, 0.0f);        //  new TranslateAnimation(xFrom,xTo, yFrom,yTo)
    `animation.setDuration(2000);`  // animation duration 
    animation.setRepeatCount(100);  // animation repeat count
    animation.setRepeatMode(1);   // repeat animation (left to right, right to left )
    animation.setFillAfter(true);      
    pro.startAnimation(animation);
    progress.startAnimation(animation);  // start animation 

ランダム左アニメーションが欲しい

4

1 に答える 1