问题
I'd like to change the color of the shadow gradient that appears at the bottom of the Action Bar
. I'm using ActionBarSherlock
.
I've looked through the XML resources trying to determine where this shape is defined but I'm feeling a bit overwhelmed. Can somebody point me in the right direction?
回答1:
I've looked through the XML resources trying to determine where this shape is defined
They are not defined as XML shapes. The ActionBar/ABS uses 9Patches.
You can use the ActionBar Style generator. It will generate all the styles and 9Patches for you.
来源:https://stackoverflow.com/questions/15102443/change-color-of-action-bar-shadow-gradient