I'm encountering the same problems since updating to SDK r12. Code we have a 
production is now failing with the two following errors:

error: Error retrieving parent for item: No resource found that matches the 
given name '@android:style/

 WindowTitle'.


error: Error retrieving parent for item: No resource found that matches the 
given name '@android:style/

 WindowTitleBackground'.


Should we back out the r12 update in Eclipse or is there something we're 
defining incorrectly in our project? 


<?xml version="1.0" encoding="utf-8"?>


<resources xmlns:android="http://schemas.android.com/apk/res/android";>

    <style name="WindowTitleBackground" parent="*
@android:style/WindowTitleBackground*">

        <item name="android:background">@drawable/bar_gradient_shape</item>

    </style>

    <style name="WindowTitleStyle" parent="*@android:style/WindowTitle*">

        <item 
name="android:gravity">center_vertical|center_horizontal</item>

        <item 
name="android:textAppearance">@android:style/TextAppearance.Large</item>

        <item 
name="android:textColor">@drawable/title_foreground_color</item>

        <item 
name="android:shadowColor">@drawable/title_foreground_shadow_color</item>

        <item name="android:textStyle">bold</item>

        <item name="android:shadowRadius">1.0</item>

        <item name="android:shadowDy">1.0</item>

        <item name="android:layout_width">wrap_content</item>

        <item name="android:layout_height">match_parent</item>

    </style>

    <style name="WindowTitleTheme" parent="android:Theme">

        <item name="android:windowTitleSize">44dp</item>

        <item 
name="android:windowTitleBackgroundStyle">@style/WindowTitleBackground</item>

        <item name="android:windowTitleStyle">@style/WindowTitleStyle</item>

    </style>

</resources>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to