更改操作栏阴影渐变的颜色 [英] Change color of action bar shadow gradient

查看:175
本文介绍了更改操作栏阴影渐变的颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想更改显示在操作栏底部的阴影渐变的颜色。我正在使用 ActionBarSherlock

I'd like to change the color of the shadow gradient that appears at the bottom of the Action Bar. I'm using ActionBarSherlock.

我浏览了XML资源,试图确定此形状的定义位置但是我有点不知所措。有人可以指出我正确的方向吗?

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?

推荐答案


我已经遍历了XML资源,确定在何处定义此
形状

I've looked through the XML resources trying to determine where this shape is defined

它们未定义为XML形状。 ActionBar / ABS使用9个补丁。

They are not defined as XML shapes. The ActionBar/ABS uses 9Patches.

您可以使用 ActionBar样式生成器。它将为您生成所有样式和9Patch。

You can use the ActionBar Style generator. It will generate all the styles and 9Patches for you.

这篇关于更改操作栏阴影渐变的颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆