summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Adam Powell <adamp@google.com> 2012-09-16 17:04:20 -0700
committer Adam Powell <adamp@google.com> 2012-09-16 17:04:20 -0700
commit489f3451e2a59e19a67fbb28da2dcbd028fc77d1 (patch)
treebd578f01d6c828ce8c17594be72dc7378d03ee07
parent1f13a98cf2758211b5525addd098f7788f180d79 (diff)
Add a minimum height of 64dp for AlertDialog content
Bug 7094388 Change-Id: Ia4316c9d9d5971734c8930fcb1c4cd6ae3661a94
-rw-r--r--core/res/res/layout/alert_dialog_holo.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/res/res/layout/alert_dialog_holo.xml b/core/res/res/layout/alert_dialog_holo.xml
index 7fc31d828c71..3f1fa3c337b9 100644
--- a/core/res/res/layout/alert_dialog_holo.xml
+++ b/core/res/res/layout/alert_dialog_holo.xml
@@ -67,7 +67,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_weight="1"
- android:orientation="vertical">
+ android:orientation="vertical"
+ android:minHeight="64dp">
<ScrollView android:id="@+id/scrollView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
@@ -86,7 +87,8 @@
<FrameLayout android:id="@+id/customPanel"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_weight="1">
+ android:layout_weight="1"
+ android:minHeight="64dp">
<FrameLayout android:id="@+android:id/custom"
android:layout_width="match_parent"
android:layout_height="wrap_content" />