Ok, nobody already tried this way for the styles on tab widget ?

I guess it's just possible by code with the setIndicator function on
TabSpec.

On 28 fév, 23:02, Antony BODY <[email protected]> wrote:
> Hi all,
>
> I'm trying to apply themes and styles on my application which is
> TabHost.
> I can't modify the background color of this TabHost. It works for all
> other attrobute like TextColor for example.
>
> Any one have an idea, I'm lost?
>
> Do you think my XML style resource is wrong ?
>
> <?xml version="1.0" encoding="utf-8"?>
> <resources>
>
>         <color name="custom_theme_color">#3399cc</color>
>         <style name="MyStyle" parent="android:Theme.Light">
>                 <item name="android:textColor">#cc00cc</item>
>                 <item name="android:windowBackground">
>                         @color/custom_theme_color
>                 </item>
>                 <item name="android:colorBackground">
>                         @color/custom_theme_color
>                 </item>
>         </style>
> </resources>
>
> In second point, I would like to know how work selector with
> ResourceCursorAdapter. My list is filled by this adapter and when i
> try to use selector, all my items change color. I have to add
> something in my adapter? Like update state of item or something like
> that ?
>
> Regards,
> Antony.

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