I have tried everything and I can’t get this to work. I have read all related posts on this topic, but havent found a working solution!
I wanna change the tab bar text size using ActionBarSherlock. I’ve managed to change the actionbar, but not the tabs text underneath (or the tabs themselves for that matter).
In styles.xml I have (one of many tries):
<style name="ANM_Theme" parent="Theme.Sherlock">
<item name="actionBarTabTextStyle">@style/Theme_ActionBarText</item>
<item name="android:actionBarTabTextStyle">@style/Theme_ActionBarText</item>
<style name="Theme_ActionBarText" parent="Widget.Sherlock.ActionBar.TabText">
<item name="android:textColor">#fff</item>
<item name="android:textSize">6sp</item>
And in my activity i set
public static int THEME = R.style.ANM_Theme;
And then
setTheme(THEME);
Before
super.onCreate(savedInstanceState);
EDIT:
Just realized that when you are using Tabs+Pager you don’t get the 4.0 look on the tabs! That clarifies why I can’t customize the tabs through the ActionBarSherlock theme.. I was trying on a 4.1 device. Downloaded the ActionBarSherlock demo app and got the same results..
Anyone know how to fix it?
}