简体   繁体   中英

Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.StatusBar.Expanded'

I am trying to make theme for CM engine. And I have added some assets but when I try to change clock color in notifications panel, eclipse gives me this:

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'.

And this is 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>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

Related Question Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.Holo.Widget.ActionBar.Title' Error in Eclipse- Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material' Error:(1) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material' Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Inverse' Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse' Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Colored' Error:(3) Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse' "Error:(2) Error retrieving parent for item No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse' Error:(72) Error retrieving parent for item: No resource found that matches the given name 'TextAppearance.AppCompat.Display1' Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM