summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWei-Ta Chen <weita@google.com>2011-08-05 17:08:40 -0700
committerWei-Ta Chen <weita@google.com>2011-08-05 17:25:26 -0700
commitf921d46b1e1c9b4a8f1b017ce26675fd9accd609 (patch)
treec1848a7ee69956710ef17e4929932e83d6cec924 /src
parenteeb94d4de94bfd4e01f3a716803f77a530f5b92c (diff)
downloadLegacyCamera-f921d46b1e1c9b4a8f1b017ce26675fd9accd609.zip
LegacyCamera-f921d46b1e1c9b4a8f1b017ce26675fd9accd609.tar.gz
LegacyCamera-f921d46b1e1c9b4a8f1b017ce26675fd9accd609.tar.bz2
Fix the issue that panorama preview occludes viewfinder.
Change-Id: Ide8fdde9c95fb9d4ed1b03a750e0ce78fde93236
Diffstat (limited to 'src')
-rw-r--r--src/com/android/camera/panorama/PanoramaActivity.java3
1 files changed, 3 insertions, 0 deletions
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() {