检索项目的父项时出错:找不到与给定名称匹配的资源'@android:style / TextAppearance.StatusBar.Expanded'

时间:2014-08-21 19:03:32

标签: android parent statusbar android-styles

我正在尝试为CM引擎制作主题。我添加了一些资产但是当我尝试在通知面板中更改时钟颜色时,eclipse给了我这个:

assets/overlays/com.android.systemui/res/values/styles.xml:3: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.StatusBar.Expanded'.
assets/overlays/com.android.systemui/res/values/styles.xml:6: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.StatusBar.Expanded'.

这是 styles.xml

<?xml version="1.0" encoding="utf-8"?>
<resources>
    <style name="TextAppearance.StatusBar.Expanded.Clock" parent="@android:style/TextAppearance.StatusBar.Expanded">
        <item name="android:textColor">#ffD4AF37</item>
    </style>
    <style name="TextAppearance.StatusBar.Expanded.Date" parent="@android:style/TextAppearance.StatusBar.Expanded">
        <item name="android:textColor">#ffD4AF37</item>
    </style>
</resources>

1 个答案:

答案 0 :(得分:0)