Advertisement
MarRab

Hide animation

Jan 28th, 2015
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.41 KB | None | 0 0
  1. AlphaAnimation animation = new AlphaAnimation(1f, 0f);
  2.             animation.setDuration(800);
  3.             animation.setAnimationListener(new AnimationListener() {
  4.  
  5.                 @Override
  6.                 public void onAnimationStart(Animation arg0) {
  7.                 }
  8.  
  9.                 @Override
  10.                 public void onAnimationRepeat(Animation arg0) {
  11.                 }
  12.  
  13.                 @Override
  14.                 public void onAnimationEnd(Animation arg0) {
  15.                 }
  16.             });
  17.             something.startAnimation(animation);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement