diff options
author | Pal Szasz <pal.szasz@sonyericsson.com> | 2010-08-24 08:51:29 +0200 |
---|---|---|
committer | Steve Kondik <shade@chemlab.org> | 2010-09-16 22:25:23 -0400 |
commit | da2719e3437fa8b63c50fc3c7293bd4f5e682b62 (patch) | |
tree | 0977ae3827088bc1e8662c9e873c48289ef8c298 /core | |
parent | b761cac77a411f737e41c774a54ef000ecb9e9a0 (diff) | |
download | frameworks_base-da2719e3437fa8b63c50fc3c7293bd4f5e682b62.zip frameworks_base-da2719e3437fa8b63c50fc3c7293bd4f5e682b62.tar.gz frameworks_base-da2719e3437fa8b63c50fc3c7293bd4f5e682b62.tar.bz2 |
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
Diffstat (limited to 'core')
-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 baa4bee..a955352 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" |