Self answering :)

As far as I could read (have not tried it yet),
tabHost.getChildTabViewAt(int pos).setBackgroundColor(int resid) should do
it (Donut and later)

Thierry.


2010/7/18 Thierry Legras <tleg...@gmail.com>

> Hi,
>
> What is the supported way to set tabwidget color? I tried this:
>
>     tabHost.getTabWidget().setBackgroundColor(somecolor)
>
> It does what i want on 1.5 & 1.6 device e.g. it changes the color of he
> space between tabs *and also *the tabs color.
> On 2.1, it only changes the color of the space behind the tabs.
>
> Any clue?
>
> Cheers,
> Thierry.
>
>


-- 
Thierry.

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to