summaryrefslogtreecommitdiffstats
path: root/res/layout/pano_review.xml
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/pano_review.xml
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/pano_review.xml')
-rw-r--r--res/layout/pano_review.xml8
1 files changed, 5 insertions, 3 deletions
diff --git a/res/layout/pano_review.xml b/res/layout/pano_review.xml
index 2900a5a..fa4f83b 100644
--- a/res/layout/pano_review.xml
+++ b/res/layout/pano_review.xml
@@ -65,16 +65,18 @@
<com.android.camera.ui.RotateLayout
android:id="@+id/pano_review_cancel_button_layout"
- android:layout_gravity="center_horizontal"
+ android:layout_gravity="bottom|center_horizontal"
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView android:id="@+id/pano_review_cancel_button"
android:text="@string/review_cancel"
+ 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>