No matter what I do, the action bar text is black, I need to change it to white.
I have tried this
<style name="AppTheme" parent="android:Theme.Holo.Light.DarkActionBar">
<item name="android:colorPrimary">@color/primary_color</item>
<item name="android:actionBarStyle">@style/AppTheme.ActionBar.TitleTextStyle</item>
</style>
<style name="AppTheme.ActionBar.TitleTextStyle" parent="@android:style/TextAppearance.Medium">
<item name="android:textColorPrimary">@android:color/white</item>
</style>
and this
int titleId = getResources().getIdentifier("action_bar_title", "id", "android");
TextView abTitle = (TextView) findViewById(titleId);
abTitle.setTextColor(colorId);
the second answer from here How to change action bar title color in code, just crashes the program, the first answer doesn't work. Please help??