summaryrefslogtreecommitdiffstats
path: root/res/layout-sw600dp
diff options
context:
space:
mode:
authorAngus Kong <shkong@google.com>2011-11-02 11:01:12 +0800
committerAngus Kong <shkong@google.com>2011-11-03 17:10:59 +0800
commit66629c698da1117db6d3fa0f7b2161c4d87e26e8 (patch)
treebff32e92dea995b481834a3d7dd0443bd209afcb /res/layout-sw600dp
parent1f56f129d65729705326f4d6852d760e6a5cacf5 (diff)
downloadLegacyCamera-66629c698da1117db6d3fa0f7b2161c4d87e26e8.zip
LegacyCamera-66629c698da1117db6d3fa0f7b2161c4d87e26e8.tar.gz
LegacyCamera-66629c698da1117db6d3fa0f7b2161c4d87e26e8.tar.bz2
Change the style of cancel button in Panorama.
To comply with UI spec: 1. Change the text size to 12sp. 2. Change the pressed-state background. 3. Adjust the height to match the parent. bug:5521011 Change-Id: I4b99a1593aec67eb41c38ae97d54f3c9c4fce740
Diffstat (limited to 'res/layout-sw600dp')
-rw-r--r--res/layout-sw600dp/pano_review.xml9
1 files changed, 5 insertions, 4 deletions
diff --git a/res/layout-sw600dp/pano_review.xml b/res/layout-sw600dp/pano_review.xml
index c16df1a..cf1fb54 100644
--- a/res/layout-sw600dp/pano_review.xml
+++ b/res/layout-sw600dp/pano_review.xml
@@ -28,18 +28,19 @@
<com.android.camera.ui.RotateLayout
android:id="@+id/pano_review_cancel_button_layout"
- android:layout_gravity="center_vertical"
+ android:layout_gravity="right|center_vertical"
android:layout_marginRight="20dp"
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView android:id="@+id/pano_review_cancel_button"
android:text="@string/review_cancel"
- android:gravity="right"
+ android:background="@drawable/bg_pressed"
+ android:gravity="center"
android:clickable="true"
android:onClick="onCancelButtonClicked"
- android:textAppearance="?android:textAppearanceMedium"
+ android:textSize="12sp"
android:minWidth="@dimen/pano_review_button_width"
- android:layout_height="wrap_content"
+ android:layout_height="match_parent"
android:layout_width="wrap_content" />
</com.android.camera.ui.RotateLayout>
</LinearLayout>