我想自定义材质设计主题,在这个环节上建议: android dev的是Android 5.0 - 的IntelliJ摇篮:无法解析符号:@color:material_blue_500
但是当我下面的代码添加到我的V21 /风格文件Intellij说它无法解析这些符号。
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light">
<!-- customize the color palette -->
<item name="colorPrimary">@color/material_blue_500</item>
<item name="colorPrimaryDark">@color/material_blue_700</item>
<item name="colorAccent">@color/material_green_A200</item>
</style>
</resources>
我环顾四周,看是否有任何特定的设置需要在颜色方面完成,但没有出现。我在Gradle上使用支持lib v7的API 21。
对不起,我应该做更多的研究..颜色材料的意见在这里给出:http://www.google.com/design/spec/style/color.html# – nathandrake 2014-10-20 08:12:35