Sto implementando ActionBar per impostare il colore per il testo utilizzando questo script di stile in xml ma ottenendo errore quando ho eseguito il mio tempo di applicazione qualcuno ha idea di quello che ho mancaErrore nel recupero del genitore per l'articolo: Nessuna risorsa trovata che corrisponde al nome specificato '@android: style/TextAppearance.Holo.Widget.ActionBar.Title'
questo è il mio file style.xml
<!-- Start with the Holographic Light theme -->
<style name="Theme.IOSched" parent="android:style/Theme.Holo.Light">
<item name="android:windowBackground">@drawable/window_background</item>
<item name="android:actionBarStyle">@style/ActionBar</item>
<!-- custom attributes
<item name="textHeaderMaxLines">@integer/text_header_max_lines</item>
<item name="trackAbstractMaxLines">@integer/track_abstract_max_lines</item>-->
</style>
<style name="Theme.IOSched.Home" parent="style/Theme.IOSched">
<item name="android:windowBackground">@drawable/window_background_home</item>
<item name="android:actionBarStyle">@style/ActionBar</item>
</style>
<style name="ActionBar" parent="android:style/Widget.Holo.Light.ActionBar">
<item name="android:background">@color/actionbar_background</item>
<item name="android:textColor">@color/accent_1</item>
<item name="android:titleTextStyle">@style/ActionBarText</item>
</style>
<style name="ActionBarText" parent="@android:style/TextAppearance.Holo.Widget.ActionBar.Title"> <!-- getting here error-->
<item name="android:textColor">@color/accent_1</item>
<item name="android:textStyle">bold</item>
</style>
error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.Holo.Widget.ActionBar.Title'.
Hai impostato il tuo obiettivo di costruzione su 3.0 in Proprietà del progetto? –
sì ho impostato l'obiettivo – Pratik
Ho riscontrato questo errore quando playServices non è incluso e android: value = "integer/google_play_services_version" sta dando l'errore – Nepster