From 9cfab4bc18b8d9d905263c687e19c06df885dca7 Mon Sep 17 00:00:00 2001 From: Wu-cheng Li Date: Tue, 9 Nov 2010 22:00:27 +0800 Subject: Rotate the postview to correct orientation in video attach mode. Manual merge from gingerbread. bug:3208306 Change-Id: Ib7fb0a960c862527324adefd419e74224f59bc30 --- res/layout-xlarge/attach_camera_control.xml | 14 +++++++++++++- src/com/android/camera/Util.java | 20 +++++++++++++++++++- src/com/android/camera/VideoCamera.java | 16 +++++++++++++--- 3 files changed, 45 insertions(+), 5 deletions(-) diff --git a/res/layout-xlarge/attach_camera_control.xml b/res/layout-xlarge/attach_camera_control.xml index b33085b..c84e7a6 100644 --- a/res/layout-xlarge/attach_camera_control.xml +++ b/res/layout-xlarge/attach_camera_control.xml @@ -18,11 +18,22 @@ xmlns:camera="http://schemas.android.com/apk/res/com.android.camera" android:id="@+id/control_bar" android:layout_height="match_parent" - android:layout_width="90dp" + android:layout_width="120dp" android:layout_marginTop="20dp" android:layout_marginBottom="20dp" android:layout_marginLeft="10dp" android:layout_marginRight="10dp"> + + +