Whilst building a layout I think I've found a bug....in a relative layout:
<CheckBox android:text="File-name"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_gravity="left"
android:id="@+id/chkUse"
android:textColor="@color/yellow"
android:textStyle="bold" />
Works find, with the text aligned to the left of the checkbox, however if I
add a background colour to the checkbox, the text overlays the checkbox:
<CheckBox android:text="File-name"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_gravity="left"
android:id="@+id/chkUse"
android:background="@color/blue"
android:textColor="@color/yellow"
android:textStyle="bold" />
--
Regards,
Sy
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en