Adjust the height of panorama live-view.
bug:5142001
Change-Id: I0e55da11603e7adc8f21b7a6577ff5f3f4fe92a4
diff --git a/res/layout-sw600dp/pano_capture.xml b/res/layout-sw600dp/pano_capture.xml
index 2f58b10..1b2900b 100644
--- a/res/layout-sw600dp/pano_capture.xml
+++ b/res/layout-sw600dp/pano_capture.xml
@@ -55,8 +55,9 @@
<RelativeLayout
android:layout_gravity="center"
+ android:layout_weight="1.67"
android:layout_width="match_parent"
- android:layout_height="@dimen/pano_mosaic_surface_height">
+ android:layout_height="0dp">
<com.android.camera.panorama.MosaicRendererSurfaceView
android:id="@+id/pano_renderer"
android:layout_width="match_parent"
diff --git a/res/layout/pano_capture.xml b/res/layout/pano_capture.xml
index d6430f4..49065fd 100644
--- a/res/layout/pano_capture.xml
+++ b/res/layout/pano_capture.xml
@@ -71,7 +71,8 @@
<RelativeLayout
android:layout_gravity="center"
- android:layout_width="@dimen/pano_mosaic_surface_height"
+ android:layout_weight="1.67"
+ android:layout_width="0dp"
android:layout_height="match_parent">
<com.android.camera.panorama.MosaicRendererSurfaceView
android:id="@+id/pano_renderer"