Je développe Android 2.1 API 7 app. Pour mettre en œuvre barre d'action, j'utilise ActionbarSherlock bibliothèque.ActionbarSherlock barre d'action style personnalisé
J'ai réussi à importer la bibliothèque sherlock dans mon projet et créé la barre d'action dans mon application. Ensuite, je voudrais personnaliser le style de la barre d'action Sherlock. Donc, je définissais le fichier de style suivant:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="ActionBarTheme" parent="android:style/Theme.Sherlock">
<item name="android:background">@drawable/action_bar_background</item>
</style>
</resources>
Mais je suis erreur:
No resource found that matches the given name "android:style/Theme.Sherlock"
Pourquoi? et comment puis-je style barre d'action sherlock ??
Je pense Android: Style/thème .Sherlock n'est pas à l'intérieur du pot Android. –