问题描述
哪种颜色用于按钮在普通状态在Android中主题holo_dark?
Which color is used in Button in Normal state in Android Theme holo_dark?
我读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.
编辑:
好吧,我确实发现了如何找出用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
这篇关于在全息主题暗按钮使用的颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!