How can you change the tab text color of the action bar from Java code? Not switching to a different theme that was defined in an XML file, but something like .setTextColor(Color.GREEN).
If there were a way to get the current (not custom) view, maybe I could try grabbing the TextView from there and changing it.
Figured it out…. You can pass in a SpannableString:
Maybe with the standard action bar this is enough (haven’t tried), but for Sherlock you also need to set it statically in xml as Sam answered. Otherwise, Sherlock seemed to ignore the span color. It doesn’t matter what color you set in the xml since the span color will be used instead.