I have an ActionBar in an app, and it has navigation tabs embedded in it (not TabHost!). By default the tabs show as dark grey, with a thin blue line under all the tabs, and a blue marker on the selected tab.
Which styles do I override to change those colours?
I have not changed the tabs themselves, but I would assume that you can do it with these styles from styles.xml...
with tab_indicator_holo.xml
Or you may also try
and tab_indicator_ab_holo.xml
Finally using the two png-9 drawables:
tab_selected_holo
andtab_unselected_holo
. They look like the two thicker and thinner blue lines you are talking about.Or do you mean the minitabs?
with in minitab_lt.xml
If you need another definition just search for TabWidget in here: https://github.com/android/platform_frameworks_base/blob/master/core/res/res/values/styles.xml
Then as usual define your own style with all the required attributes and drawables...
If you want to customize easily your tab bars, you can use this great tool : http://jgilfelt.github.io/android-actionbarstylegenerator
You just select the colors you want and it automatically generates the style XMLs, the PNGs, etc.