summaryrefslogtreecommitdiffstats
path: root/res/layout-port
diff options
context:
space:
mode:
authorSpike Sprague <spikuru@google.com>2014-09-19 17:43:13 -0700
committerSpike Sprague <spikuru@google.com>2014-09-24 00:47:04 +0000
commit2268fbb50d07e327c9ac00642db0a83a49c8f3e3 (patch)
tree4017b7557d60e8c5c654d69fe11be56d050b7775 /res/layout-port
parente684ea54121ef885a0aa84cd3bea50c5a345d55e (diff)
downloadandroid_packages_apps_Camera2-2268fbb50d07e327c9ac00642db0a83a49c8f3e3.tar.gz
android_packages_apps_Camera2-2268fbb50d07e327c9ac00642db0a83a49c8f3e3.tar.bz2
android_packages_apps_Camera2-2268fbb50d07e327c9ac00642db0a83a49c8f3e3.zip
for intent capture and pano,
fix the redo/ok/cancel button sizes so touch ripples show up right. bug: 17505149 Change-Id: I29d8222ff0588d0410cf1f8a94bed963b4bf32f6
Diffstat (limited to 'res/layout-port')
-rw-r--r--res/layout-port/retake_done_cancel_layout.xml24
1 files changed, 15 insertions, 9 deletions
diff --git a/res/layout-port/retake_done_cancel_layout.xml b/res/layout-port/retake_done_cancel_layout.xml
index 306820fe7..e00ad5d23 100644
--- a/res/layout-port/retake_done_cancel_layout.xml
+++ b/res/layout-port/retake_done_cancel_layout.xml
@@ -30,26 +30,32 @@
android:id="@+id/retake_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_gravity="left|center_vertical"
- android:paddingLeft="24dp"
+ android:layout_gravity="center"
+ android:padding="24dp"
android:src="@drawable/ic_back"
android:background="@null"
android:contentDescription="@string/retake_button_description" />
- <ImageButton
- android:id="@+id/done_button"
+ <FrameLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
- android:src="@drawable/ic_confirm"
android:layout_weight="1"
- android:background="@null"
- android:contentDescription="@string/done_button_description" />
+ android:background="@null" >
+ <ImageButton
+ android:id="@+id/done_button"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:src="@drawable/ic_confirm"
+ android:background="@null"
+ android:contentDescription="@string/done_button_description" />
+ </FrameLayout>
<ImageButton
android:id="@+id/cancel_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_gravity="right|center_vertical"
- android:paddingRight="24dp"
+ android:layout_gravity="center"
+ android:padding="24dp"
android:src="@drawable/ic_cancel"
android:background="@null"
android:contentDescription="@string/cancel_button_description" />