Code example for Animation

Methods: setAnimationListenersetDurationsetFillAfter

0
				TranslateAnimation.ABSOLUTE, 0,
				TranslateAnimation.ABSOLUTE, shift,
				TranslateAnimation.ABSOLUTE, 0,
				TranslateAnimation.ABSOLUTE, 0
				); 
		mStartAnimation.setDuration(DURATION_MS);
		mStartAnimation.setFillAfter(true);
		mStartAnimation.setAnimationListener(new AnimationListener() {
 
			@Override 
			public void onAnimationStart(Animation animation) {
			} 
 
			@Override 
			public void onAnimationRepeat(Animation animation) {
			} 
 
			@Override 
			public void onAnimationEnd(Animation animation) {
				mCover.setAnimation(null);
Stop searching for code, let great code find you!  Add Codota to your java IDE