Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TranslateAnimation animation = new TranslateAnimation(0, 50, 0, 100);
- animation.setDuration(6000);
- animation.setFillAfter(false);
- animation.setAnimationListener(new Animation.AnimationListener() {
- @Override
- public void onAnimationStart(Animation animation) {
- }
- @Override
- public void onAnimationEnd(Animation animation) {
- }
- @Override
- public void onAnimationRepeat(Animation animation) {
- }
- });
- btnRutLaBai.startAnimation(animation);
Advertisement
Add Comment
Please, Sign In to add comment