summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorCheng-Ru Lin <owenlin@google.com>2009-09-30 11:57:50 +0800
committerCheng-Ru Lin <owenlin@google.com>2009-09-30 14:42:27 +0800
commit2bc4714bcd7233cd7a3fd0bb4aa261c48d2d9f79 (patch)
tree8487bafc6eb83e578d48737ef73034604ddaea7d /res/layout
parent0685e02a7819b0615e2d23b65b04a6c80f15dd53 (diff)
downloadLegacyCamera-2bc4714bcd7233cd7a3fd0bb4aa261c48d2d9f79.zip
LegacyCamera-2bc4714bcd7233cd7a3fd0bb4aa261c48d2d9f79.tar.gz
LegacyCamera-2bc4714bcd7233cd7a3fd0bb4aa261c48d2d9f79.tar.bz2
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
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/attach_camera_control.xml2
-rw-r--r--res/layout/camera_control.xml3
-rw-r--r--res/layout/review_control.xml2
3 files changed, 3 insertions, 4 deletions
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">