From 2bc4714bcd7233cd7a3fd0bb4aa261c48d2d9f79 Mon Sep 17 00:00:00 2001 From: Cheng-Ru Lin Date: Wed, 30 Sep 2009 11:57:50 +0800 Subject: Fine tune some UI stuff. 1. Use no animation between camera / review mode. Thus, we must have same layout for three types of control panel. 2. Since we have better algorithm to calculate the preview size. Let the gripper be the same in mdpi and hdpi devices. 3. Keep some border on the right size of image view. Otherwise, it looks odds in HVGA devices. Change-Id: I65b13222cace230f09e6b33f311fd2b79758e93e --- res/layout/attach_camera_control.xml | 2 +- res/layout/camera_control.xml | 3 +-- res/layout/review_control.xml | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) (limited to 'res/layout') diff --git a/res/layout/attach_camera_control.xml b/res/layout/attach_camera_control.xml index 5de98a6..f4650b4 100644 --- a/res/layout/attach_camera_control.xml +++ b/res/layout/attach_camera_control.xml @@ -18,7 +18,7 @@ xmlns:camera="http://schemas.android.com/apk/res/com.android.camera" android:id="@+id/control_bar" android:layout_height="fill_parent" - android:layout_width="77dp" + android:layout_width="76dp" android:layout_marginTop="13dp" android:layout_marginBottom="10dp" android:layout_alignParentRight="true"> diff --git a/res/layout/camera_control.xml b/res/layout/camera_control.xml index 982d707..8f7f6c8 100644 --- a/res/layout/camera_control.xml +++ b/res/layout/camera_control.xml @@ -18,8 +18,7 @@ android:id="@+id/control_bar" android:orientation="vertical" android:layout_height="fill_parent" - android:layout_width="wrap_content" - android:layout_marginRight="0dp" + android:layout_width="76dp" android:layout_marginTop="13dp" android:layout_marginBottom="10dp" android:layout_alignParentRight="true"> diff --git a/res/layout/review_control.xml b/res/layout/review_control.xml index c470653..a1291a5 100644 --- a/res/layout/review_control.xml +++ b/res/layout/review_control.xml @@ -19,7 +19,7 @@ android:id="@+id/button_bar" android:gravity="center_horizontal" android:layout_height="fill_parent" - android:layout_width="77dp" + android:layout_width="76dp" android:layout_marginTop="13dp" android:layout_marginBottom="10dp" android:layout_alignParentRight="true"> -- cgit v1.1