diff options
author | Wei-Ta Chen <weita@google.com> | 2011-08-05 17:08:40 -0700 |
---|---|---|
committer | Wei-Ta Chen <weita@google.com> | 2011-08-05 17:25:26 -0700 |
commit | f921d46b1e1c9b4a8f1b017ce26675fd9accd609 (patch) | |
tree | c1848a7ee69956710ef17e4929932e83d6cec924 /src | |
parent | eeb94d4de94bfd4e01f3a716803f77a530f5b92c (diff) | |
download | LegacyCamera-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.java | 3 |
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() { |