Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android 3.0 ActionBar, changing colors

How can I change the color of the underline beneath the tabs? It's currently the light blue, and I can't find any resources on how to change this for Android 3.0.

Additionally, I'd like to change the text color for the menu items that show up on the right of the ActionBar as a result of: android:showAsAction="ifRoom|withText"

Anyone know how to change these?

like image 412
Chris Stewart Avatar asked Apr 08 '11 02:04

Chris Stewart


1 Answers

You can control the appearance of the tabs by using the properties android:actionBarTabStyle, android:actionBarTabBarStyle, and android:actionBarTabTextStyle.

This section in the official developer guide shows a sample xml to customize the action bar's style.

Regarding the text of the menu options check the properties actionMenuTextAppearance and actionMenuTextColor.

like image 186
mgv Avatar answered Oct 04 '22 20:10

mgv