Code example for AccelerateInterpolator

0
		fadeIn = new AlphaAnimation(0, 1);
		fadeIn.setInterpolator(new DecelerateInterpolator());
		fadeIn.setDuration(200);
 
		fadeOut = new AlphaAnimation(1, 0);
		fadeOut.setInterpolator(new AccelerateInterpolator());
		fadeOut.setDuration(200);
		 
		isShown = false;
		 
		if (this.target != null) {
			applyTo(this.target);
		} else { 
			show(); 
		} 
		 
	} 
 
	private void applyTo(View target) {
		 
Stop searching for code, let great code find you!  Add Codota to your java IDE