Code example for Camera

0
import android.view.animation.Transformation; 
import android.widget.Gallery; 
import android.widget.RelativeLayout; 
 
public class GalleryFlow extends Gallery {
	private Camera mCamera = new Camera();
	private int mMaxRotationAngle = 60;
	private int mMaxZoom = -300;
	private int mCoveflowCenter;
 
	public GalleryFlow(Context context) {
		super(context);
		this.setStaticTransformationsEnabled(true);
	} 
 
	public GalleryFlow(Context context, AttributeSet attrs) {
		super(context, attrs);
		this.setStaticTransformationsEnabled(true);
	} 
 
	public GalleryFlow(Context context, AttributeSet attrs, int defStyle) {