Skip to content

Instantly share code, notes, and snippets.

@vizhen
Created January 17, 2014 08:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vizhen/8470069 to your computer and use it in GitHub Desktop.
Save vizhen/8470069 to your computer and use it in GitHub Desktop.
view开始一个移动动画效果
MovieBannerView.clearAnimation();
TranslateAnimation TransAnim;
TransAnim = new TranslateAnimation(0.0f, 0.0f, banner_h, 0.0f);
TransAnim.setDuration(bannerAnimTime);
MovieBannerView.startAnimation(TransAnim);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment