Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change the ActionBar text color in Android 5.0 Lollipop?

How can I change the text color from the ActionBar in Android Lollipop to white from black ?

This is my current styling.

<style name="AppCustomTheme" parent="@style/Theme.AppCompat.Light">
    <!-- colorPrimary is used for the default action bar background -->
    <item name="colorPrimary">@color/orange_bar</item>
</style>
like image 343
Mythul Avatar asked Oct 23 '14 21:10

Mythul


1 Answers

Use @style/Theme.AppCompat.Light.DarkActionBar to swap the coloring of text and many other attributes to better fit with a darker colored Action Bar.

like image 69
ianhanniballake Avatar answered Oct 15 '22 08:10

ianhanniballake