How to change the Backgound and Text color of AppCompat Light DarkActionBar Theme

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)
Loading...

Here is a simple way how to change the background and text color on the Android AppCompat Light DarkActionBar.
Here is the final result:
AndroidActionBar

Let say your app has following name :<MyTheme>

and you are using the Andoird 3.0 version.
In  res/AndoidManifest.xml you will have following code:

1. Add following code in the res/values/styles.xml file:

2. Create the color definition file under: res/values/colors.xml and add following code:

That’s  all.

In the next tutorial we will see  How to show icons in ActionBar overflow menu