diff options
| author | 2010-08-24 08:51:29 +0200 | |
|---|---|---|
| committer | 2010-08-25 10:09:38 +0200 | |
| commit | 342da2a5a6d5c5fce2068cd57905a29ab554b650 (patch) | |
| tree | ae61048f4c499378f8919fcbf358cfc184e884f2 | |
| parent | e7731f0a7f824add1fffa391965cbfeaf7cb2cf2 (diff) | |
Fix the layouting of the checkbox.
Sometimes (very rarely) the checkbox is not layouted correctly
(it's partly visible only). The reason is that the checkbox
(and the hint text below it) has layout_width set to
"wrap_content" as well, which means it needs more then one
layout runs to get the final layout.
Change-Id: I460bb29e2d9b4fdcf3df314e2baf9c45b2a6259b
| -rw-r--r-- | core/res/res/layout/always_use_checkbox.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/res/res/layout/always_use_checkbox.xml b/core/res/res/layout/always_use_checkbox.xml index baa4bee88066..a955352713b6 100644 --- a/core/res/res/layout/always_use_checkbox.xml +++ b/core/res/res/layout/always_use_checkbox.xml @@ -26,14 +26,14 @@ <CheckBox android:id="@+id/alwaysUse" - android:layout_width="wrap_content" + android:layout_width="match_parent" android:layout_height="wrap_content" android:focusable="true" android:clickable="true" /> <TextView android:id="@+id/clearDefaultHint" - android:layout_width="wrap_content" + android:layout_width="match_parent" android:layout_height="wrap_content" android:textAppearance="?android:attr/textAppearanceSmall" android:paddingLeft="36dip" |