在全息主题暗按钮使用的颜色 [英] Color used in Button in Holo Theme dark

查看:122
本文介绍了在全息主题暗按钮使用的颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

哪种颜色用于按钮在普通状态在Android中主题holo_dark?

Which color is used in Button in Normal state in Android Theme holo_dark?

我读<一个href=\"http://stackoverflow.com/questions/10375511/color-values-for-buttons-normal-state-in-holo-dark-theme-ics\">this问题并添加相应的颜色名称的彩色图像,但没有在按钮正常状态下的主题holo_dark使用的颜色相匹配?

I have read this question and have added color images corresponding to the color name but none matches the color used in Button normal state theme holo_dark?

推荐答案

我不知道他们使用的颜色,但你可以看看他们9Patch背景可绘制。你可以找到它的此处注意,它使用的α值,所以你不能真正找出什么颜色是(至少我不知道它怎么可能)。

I don't know which color they use, but you can look into their 9Patch background drawables. You can find it here. Note that it uses an alpha value, so you can't really find out what color it is(at least I don't know how it could be possible).

编辑:

好吧,我确实发现了如何找出用photoshop的不透明度。你可以看到,在信息窗口。所以,现在的颜色:

Ok, I did find out how to find out the opacity with photoshop. You can see that in the info window. So now that's the color:

阿尔法:40%的结果
红色:153结果
绿色:153结果
蓝:153

Alpha: 40%
Red: 153
Green: 153
Blue: 153

颜色会是这样的:
#66999999

这篇关于在全息主题暗按钮使用的颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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