I'm having difficulty getting the color of the Action Bar title text to be white. The following examples believe that my code is correct, however the text looks black.
Can anyone see what I'm doing wrong?
<resources> <style name="Theme.MyApp" parent="Theme.Sherlock.Light"> <item name="actionBarStyle">@style/Widget.MyApp.ActionBar</item> <item name="android:actionBarStyle">@style/Widget.MyApp.ActionBar</item> <item name="titleTextStyle">@style/Widget.MyApp.TitleTextStyle</item> <item name="android:titleTextStyle">@style/Widget.MyApp.TitleTextStyle</item> </style> <style name="Widget.MyApp.ActionBar" parent="Widget.Sherlock.Light.ActionBar"> <item name="background">@drawable/gradient_blue</item> <item name="android:background">@drawable/gradient_blue</item> </style> <style name="Widget.MyApp.TitleTextStyle" parent="Widget.Sherlock.Light.ActionBar"> <item name="titleTextStyle">@color/white</item> <item name="android:titleTextStyle">@color/white</item> </style> </resources>
Thank you very much in advance!
java android actionbarsherlock
Joseph Woodward
source share