Sunday, September 18, 2011

[android-developers] Android Honeycomb CheckBox against white background cannot be seen

I am putting a CheckBox against a white background. It looks fine on
pre-Honeycomb devices but on Honeycomb, it seems that the graphic has
partial transparency and is white, so when the checkbox is unticked,
you cannot see it.

I tried using the Theme.Holo.Light style as follows:

<CheckBox android:text="" style="@android:style/Theme.Holo.Light"
android:layout_marginLeft="5dip" android:id="@+id/checkBoxWifiOnly"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />

This appears to have no effect. Am I typing the syntax wrongly?

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate