V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
karonl
V2EX  ›  问与答

关于 Android 的 AppCompat 有个问题请教

  •  
  •   karonl · 2014-11-28 14:58:20 +08:00 · 2200 次点击
    这是一个创建于 3438 天前的主题,其中的信息可能已经有所发展或是发生改变。
    I'm trying to set colorAccent to my project but when i build to device the color doesn't change.

    The selector color still in black color.

    http://i.stack.imgur.com/xLJ9w.png

    This's my styles.

    <resources>
    <style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
    <item name="colorPrimary">@color/app_primary_color</item>
    <item name="colorPrimaryDark">@color/app_primary_dark_color</item>
    <item name="colorAccent">@color/red</item>
    </style>
    </resources>
    What's wrong with my code or i miss something ?
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2702 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 11:29 · PVG 19:29 · LAX 04:29 · JFK 07:29
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.