Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What's the default Hex Color of the Holo.Light.DarkActionBar ActionBar

I've got a toolbar at the bottom of my layout which I would like to be the same color as the action bar. I'm using the Holo Light with dark action bar theme, what is the hex code for this color? Thanks

like image 674
Jakob Avatar asked Feb 12 '13 23:02

Jakob


2 Answers

The action bar's background hex value in the Theme.Holo.Light.DarkActionBar theme is #222222. I picked it from the the image that is used as the action bar background:

image

<sdk>/platforms/android-17/data/res/drawable-xhdpi/ab_solid_dark_holo.9.png

like image 166
Matthias Robbers Avatar answered Nov 15 '22 13:11

Matthias Robbers


The dark action bar itself is #030304, and the border beneath it is #33b5e5.

It is also worth noting that, if you want a replica of the action bar on the bottom, it's possible to use a split action bar on API 14+ through use of uiOptions="splitActionBarWhenNarrow".

like image 38
Cat Avatar answered Nov 15 '22 12:11

Cat