summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorChih-Chung Chang <chihchung@google.com>2009-09-10 12:36:52 +0800
committerChih-Chung Chang <chihchung@google.com>2009-09-10 17:48:49 +0800
commiteb9b537cf0b715354c179327020cb7cd4e0e5327 (patch)
tree2b854a39d0185c938635fba5864589393b8443a7 /res/layout
parentcd65ac73996783ebf17e2b66b153e33fb37e6f8c (diff)
downloadLegacyCamera-eb9b537cf0b715354c179327020cb7cd4e0e5327.zip
LegacyCamera-eb9b537cf0b715354c179327020cb7cd4e0e5327.tar.gz
LegacyCamera-eb9b537cf0b715354c179327020cb7cd4e0e5327.tar.bz2
Add double tap to zoom.
Change-Id: I11ea02685bb27b33eb73c11bea9918b5fa02e186
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/review_image.xml4
-rw-r--r--res/layout/viewimage.xml14
2 files changed, 7 insertions, 11 deletions
diff --git a/res/layout/review_image.xml b/res/layout/review_image.xml
index 6e9926f..347c4b6 100644
--- a/res/layout/review_image.xml
+++ b/res/layout/review_image.xml
@@ -58,7 +58,7 @@
android:clickable="true"
android:focusable="true"
android:layout_width="wrap_content"
- android:layout_height="fill_parent"
+ android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:visibility="invisible"
@@ -68,7 +68,7 @@
android:clickable="true"
android:focusable="true"
android:layout_width="wrap_content"
- android:layout_height="fill_parent"
+ android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:visibility="invisible"
diff --git a/res/layout/viewimage.xml b/res/layout/viewimage.xml
index 483a3fa..d97d898 100644
--- a/res/layout/viewimage.xml
+++ b/res/layout/viewimage.xml
@@ -46,7 +46,7 @@
android:clickable="true"
android:focusable="true"
android:layout_width="wrap_content"
- android:layout_height="fill_parent"
+ android:layout_height="wrap_content"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:visibility="invisible"
@@ -57,23 +57,19 @@
android:clickable="true"
android:focusable="true"
android:layout_width="wrap_content"
- android:layout_height="fill_parent"
+ android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:visibility="invisible"
android:src="@drawable/btn_camera_arrow_right"
/>
- <LinearLayout
+ <com.android.camera.EvenlySpacedLayout
android:visibility="gone"
android:id="@+id/action_icon_panel"
- android:layout_alignParentRight="true"
android:layout_marginTop="20dp"
- android:layout_marginRight="30dp"
- android:layout_marginLeft="30dp"
android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
+ android:layout_height="wrap_content">
<com.android.camera.ActionMenuButton
android:id="@+id/setas"
android:visibility="gone"
@@ -116,6 +112,6 @@
android:text="@string/camera_cancel"
style="@style/OnscreenActionIcon"
/>
- </LinearLayout>
+ </com.android.camera.EvenlySpacedLayout>
</RelativeLayout>