Skip to content

Instantly share code, notes, and snippets.

@dlew
Last active August 29, 2015 14:08
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dlew/b808900466685749f1bd to your computer and use it in GitHub Desktop.
Save dlew/b808900466685749f1bd to your computer and use it in GitHub Desktop.
Everything you need to do to change the color of the title of your ActionBar.
<style name="MyTheme" parent="Theme.AppCompat.Light">
<item name="actionBarStyle">@style/MyActionBarStyle</item>
</style>
<style name="MyActionBarStyle" parent="Widget.AppCompat.ActionBar.Solid">
<item name="titleTextStyle">@style/MyTitleTextStyle</item>
</style>
<style name="MyTitleTextStyle" parent="TextAppearance.AppCompat.Widget.ActionBar.Title">
<item name="android:textColor">#000000</item>
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment