summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorAngus Kong <shkong@google.com>2011-11-14 18:49:23 +0800
committerAngus Kong <shkong@google.com>2011-11-14 20:01:02 +0800
commit89f72855e4b7f0f1e6b362bdfdb07e376d113af6 (patch)
tree575b59cf4400c52c0ee7935d96de38266a341aa9 /res
parent8d51fc281ca4e14c87eac278d153e162c0e1fcf2 (diff)
downloadLegacyCamera-89f72855e4b7f0f1e6b362bdfdb07e376d113af6.zip
LegacyCamera-89f72855e4b7f0f1e6b362bdfdb07e376d113af6.tar.gz
LegacyCamera-89f72855e4b7f0f1e6b362bdfdb07e376d113af6.tar.bz2
Adjust the height of panorama live-view.
bug:5142001 Change-Id: I0e55da11603e7adc8f21b7a6577ff5f3f4fe92a4
Diffstat (limited to 'res')
-rw-r--r--res/layout-sw600dp/pano_capture.xml3
-rw-r--r--res/layout/pano_capture.xml3
2 files changed, 4 insertions, 2 deletions
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"