summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--res/layout/pano_review.xml14
-rwxr-xr-xsrc/com/android/camera/panorama/PanoramaActivity.java1
2 files changed, 10 insertions, 5 deletions
diff --git a/res/layout/pano_review.xml b/res/layout/pano_review.xml
index fa4f83b..7b9a92e 100644
--- a/res/layout/pano_review.xml
+++ b/res/layout/pano_review.xml
@@ -50,11 +50,15 @@
</com.android.camera.ui.RotateLayout>
</RelativeLayout>
- <ImageView android:id="@+id/pano_reviewarea"
- android:rotation="90"
- android:scaleType="fitCenter"
- android:layout_height="match_parent"
- android:layout_width="@dimen/pano_mosaic_surface_height" />
+ <com.android.camera.ui.RotateLayout
+ android:id="@+id/pano_rotate_reviewarea"
+ android:layout_width="@dimen/pano_mosaic_surface_height"
+ android:layout_height="match_parent">
+ <ImageView android:id="@+id/pano_reviewarea"
+ android:scaleType="fitCenter"
+ android:layout_height="match_parent"
+ android:layout_width="match_parent" />
+ </com.android.camera.ui.RotateLayout>
<LinearLayout android:id="@+id/pano_review_control"
style="@style/PanoViewHorizontalBar"
diff --git a/src/com/android/camera/panorama/PanoramaActivity.java b/src/com/android/camera/panorama/PanoramaActivity.java
index a65d263..fe70827 100755
--- a/src/com/android/camera/panorama/PanoramaActivity.java
+++ b/src/com/android/camera/panorama/PanoramaActivity.java
@@ -710,6 +710,7 @@ public class PanoramaActivity extends ActivityBase implements
(Rotatable) findViewById(R.id.pano_review_saving_indication_layout),
(Rotatable) findViewById(R.id.pano_saving_progress_bar_layout),
(Rotatable) findViewById(R.id.pano_review_cancel_button_layout),
+ (Rotatable) findViewById(R.id.pano_rotate_reviewarea),
(Rotatable) mRotateDialog,
(Rotatable) mCaptureIndicator,
(Rotatable) mModePicker,