对于按钮的颜色值(正常状态下)的全息黑暗的主题ICS [英] Color values for Buttons (Normal state) in holo dark theme ICS

查看:213
本文介绍了对于按钮的颜色值(正常状态下)的全息黑暗的主题ICS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于需要的颜色codeS为HOLO黑暗的主题ICS按钮的帮助。该<一href="http://stackoverflow.com/questions/9947156/what-are-the-default-color-values-the-holo-theme-on-android-4-0">question投光进C $ CS所有的颜色$的全息主题,除了在正常状态下的按钮。提前致谢。 基本按钮的全息主题的IC。

Need help regarding the color codes for buttons in HOLO DARK theme ICS. This question throws light into all the color codes for Holo theme except for the buttons in normal state. Thanks in advance. basic buttons holo theme ics.

推荐答案

Ive得到了现在。如果你想要的Andr​​oid ICS的默认颜色;你只需要到你的Andr​​oid SDK和寻找平台\ Android为15 \数据之后\水库\值,然后颜色。 你去那里:

Ive got it now. If you want the default colors of Android ICS; you just have to go to your Android SDK and look after platforms\android-15\data\res\values and then colors. There you go:

 <!-- For holo theme -->
    <drawable name="screen_background_holo_light">#fff3f3f3</drawable>
    <drawable name="screen_background_holo_dark">#ff000000</drawable>
    <color name="background_holo_dark">#ff000000</color>
    <color name="background_holo_light">#fff3f3f3</color>
    <color name="bright_foreground_holo_dark">@android:color/background_holo_light</color>
    <color name="bright_foreground_holo_light">@android:color/background_holo_dark</color>
    <color name="bright_foreground_disabled_holo_dark">#ff4c4c4c</color>
    <color name="bright_foreground_disabled_holo_light">#ffb2b2b2</color>
    <color name="bright_foreground_inverse_holo_dark">@android:color/bright_foreground_holo_light</color>
    <color name="bright_foreground_inverse_holo_light">@android:color/bright_foreground_holo_dark</color>
    <color name="dim_foreground_holo_dark">#bebebe</color>
    <color name="dim_foreground_disabled_holo_dark">#80bebebe</color>
    <color name="dim_foreground_inverse_holo_dark">#323232</color>
    <color name="dim_foreground_inverse_disabled_holo_dark">#80323232</color>
    <color name="hint_foreground_holo_dark">#808080</color>
    <color name="dim_foreground_holo_light">#323232</color>
    <color name="dim_foreground_disabled_holo_light">#80323232</color>
    <color name="dim_foreground_inverse_holo_light">#bebebe</color>
    <color name="dim_foreground_inverse_disabled_holo_light">#80bebebe</color>
    <color name="hint_foreground_holo_light">#808080</color>
    <color name="highlighted_text_holo_dark">#6633b5e5</color>
    <color name="highlighted_text_holo_light">#6633b5e5</color>
    <color name="link_text_holo_dark">#5c5cff</color>
    <color name="link_text_holo_light">#0000ee</color>

这为背景:

 <color name="background_holo_dark">#ff000000</color>
 <color name="background_holo_light">#fff3f3f3</color>

也许你不会得到相同的颜色,如果你看一下这件事在Photoshop等,因为它设置了阿尔法值。

Probably you wont get the same colors if you look this up in Photoshop etc. because its set up with Alpha values.

这篇关于对于按钮的颜色值(正常状态下)的全息黑暗的主题ICS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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