From f921d46b1e1c9b4a8f1b017ce26675fd9accd609 Mon Sep 17 00:00:00 2001 From: Wei-Ta Chen Date: Fri, 5 Aug 2011 17:08:40 -0700 Subject: Fix the issue that panorama preview occludes viewfinder. Change-Id: Ide8fdde9c95fb9d4ed1b03a750e0ce78fde93236 --- src/com/android/camera/panorama/PanoramaActivity.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/com/android/camera/panorama/PanoramaActivity.java b/src/com/android/camera/panorama/PanoramaActivity.java index b66a311..9e18308 100644 --- a/src/com/android/camera/panorama/PanoramaActivity.java +++ b/src/com/android/camera/panorama/PanoramaActivity.java @@ -271,6 +271,8 @@ public class PanoramaActivity extends Activity implements }); mCaptureLayout.setVisibility(View.VISIBLE); + mPreview.setVisibility(View.GONE); + mRealTimeMosaicView.setVisibility(View.VISIBLE); mPanoControlLayout.setVisibility(View.GONE); } @@ -320,6 +322,7 @@ public class PanoramaActivity extends Activity implements mReview = (ImageView) findViewById(R.id.pano_reviewarea); mRealTimeMosaicView = (MosaicRendererSurfaceView) findViewById(R.id.pano_renderer); + mRealTimeMosaicView.setVisibility(View.GONE); mShutterButton = (ShutterButton) findViewById(R.id.pano_shutter_button); mShutterButton.setOnClickListener(new View.OnClickListener() { -- cgit v1.1