Change color of action bar shadow gradient

99封情书 提交于 2019-12-12 00:18:24

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!