public static void flipTransition(final ViewAnimator viewAnimator, FlipDirection dir) {
		flipTransition(viewAnimator, dir, 1000);
	 * Slide animations to enter a view from left. 
	 * @param duration the animation duration in milliseconds 
	 * @param interpolator the interpolator to use (pass {@code null} to use the {@link AccelerateInterpolator} interpolator) 	 
	 * @return a slide transition animation 
	public static Animation inFromLeftAnimation(long duration, Interpolator interpolator) {
		Animation inFromLeft = new TranslateAnimation(
Connect your IDE to all the code out there  Get Codota for Java