Theme.Holo.Light is usually applied to an <activity> in the manifest,
to affect the whole activity, not an individual CheckBox in a layout.

On Mon, Sep 19, 2011 at 12:47 AM, albnok <[email protected]> wrote:
> 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 [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
>



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android 3.1 Programming Books: http://commonsware.com/books

-- 
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

Reply via email to