Code example for ScaleAnimation

Methods: setDurationsetFillAftersetFillEnabled

0
			} 
		} 
	}; 
 
	public void makeZoomCover() { 
		ScaleAnimation scaleAnimation = new ScaleAnimation(1, 1, 1.5f, 1.5f);
		scaleAnimation.setFillEnabled(true);
		scaleAnimation.setFillAfter(true);
		scaleAnimation.setDuration(1000);
		contentCover.startAnimation(scaleAnimation);
		// RelativeLayout.LayoutParams lpContentCover = 
		// (RelativeLayout.LayoutParams) contentCover 
		// .getLayoutParams(); 
		// lpContentCover.height = (int) (lpContentCover.height * 1.5f); 
		// lpContentCover.width = (int) (lpContentCover.width * 1.5f); 
 
	} 
 
	public Bitmap getReflectedBitmap(Bitmap originalImage) {
		int width = originalImage.getWidth();
		int height = originalImage.getHeight();