summaryrefslogtreecommitdiffstats
path: root/res/layout/pano_review.xml
diff options
context:
space:
mode:
authorAngus Kong <shkong@google.com>2011-08-22 21:14:32 +0800
committerAngus Kong <shkong@google.com>2011-08-23 00:16:44 +0800
commitf4814a46ed16acbd266ac5d3fa17ed3d48f02f28 (patch)
treea9c4849321bc37617ae722a0d14828fe82c0e1fb /res/layout/pano_review.xml
parentcd5f34c389d0d929687b95885e348d574f574d85 (diff)
downloadLegacyCamera-f4814a46ed16acbd266ac5d3fa17ed3d48f02f28.zip
LegacyCamera-f4814a46ed16acbd266ac5d3fa17ed3d48f02f28.tar.gz
LegacyCamera-f4814a46ed16acbd266ac5d3fa17ed3d48f02f28.tar.bz2
Modify the width of retake button.
Use "wrap_content" to prevent the wrapping of the text and use android:minWidth to constrain the width. Change-Id: I91cd890dc6b0871d768f5f59b69249b7049b188e
Diffstat (limited to 'res/layout/pano_review.xml')
-rw-r--r--res/layout/pano_review.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/res/layout/pano_review.xml b/res/layout/pano_review.xml
index f574d6c..07bc15d 100644
--- a/res/layout/pano_review.xml
+++ b/res/layout/pano_review.xml
@@ -41,13 +41,15 @@
android:text="@string/review_retake"
android:onClick="onRetakeButtonClicked"
android:textAppearance="?android:textAppearanceMedium"
- android:layout_width="@dimen/pano_review_button_width"
+ android:minWidth="@dimen/pano_review_button_width"
+ android:layout_width="wrap_content"
android:layout_height="@dimen/pano_review_button_height" />
<Button android:id="@+id/pano_review_ok_button"
android:text="@string/review_ok"
android:textAppearance="?android:textAppearanceMedium"
android:onClick="onOkButtonClicked"
- android:layout_width="@dimen/pano_review_button_width"
+ android:minWidth="@dimen/pano_review_button_width"
+ android:layout_width="wrap_content"
android:layout_height="@dimen/pano_review_button_height" />
</LinearLayout>
</RelativeLayout>