Created
January 17, 2014 08:23
-
-
Save vizhen/8470069 to your computer and use it in GitHub Desktop.
view开始一个移动动画效果
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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