Code example for AnticipateInterpolator

0
	 */ 
	private void startSpringMenuAnimations(View view) {
		areMenusShowing = true;
		Animation shrinkOut1 = new ShrinkAnimationOut(300);
		Animation growOut = new EnlargeAnimationOut(300);
		shrinkOut1.setInterpolator(new AnticipateInterpolator(2.0F));
		shrinkOut1.setAnimationListener(new Animation.AnimationListener() {
 
			public void onAnimationEnd(Animation animation) {
				// TODO Auto-generated method stub 
				MainActivity.this.imageViewPlus.clearAnimation();
			} 
 
			public void onAnimationRepeat(Animation animation) {
				// TODO Auto-generated method stub 
				 
			} 
 
			public void onAnimationStart(Animation animation) {
				// TODO Auto-generated method stub