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>
StatusBar styles are for API 9 onwards.
Useful links are;
Android.com Applying Styles and Themes, Using Platform Styles and Themes
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.