KB-20071230-040
From Triled Wiki
- Status: opened
- author: brendan.d.burns
- link: http://groups.google.com/group/android-developers/msg/cab5ecb0040f7446
- Description: Bug in CheckBox implementation of padding.
- Steps to reproduce:
layout example (from original post):
<?xml version="1.0" encoding="utf-8"?>
<AbsoluteLayout
id="@+id/widget0"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="#ffffffff"
android:padding="0px"
xmlns:android="http://schemas.android.com/apk/res/android">
<CheckBox
id="@+id/widget24"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="CheckBox"
android:textSize="14sp"
android:typeface="normal"
android:textStyle="normal"
android:padding="0px"
android:textColor="#ff000000"
android:checked="false"
android:layout_x="60px"
android:layout_y="62px">
</CheckBox>
</AbsoluteLayout>
Rendered layout shows text "eckBox", "C" letter is under checkbox. Padding attribute affects only text, not checkbox.
[edit] See also
- KB-20071210-033 Radio buttons related bug.
