ActionBarSherlockスタイルをオーバーライドするのに問題があるので、誰かが助けてくれることを願っています。私は次のようなドローアブルを作成しました:
(res / drawable / actionbar_background.xml内)
<?xml version="1.0" encoding="utf-8"?>
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
android:src="@drawable/bg"
android:tileMode="repeat" />
次に、私のアプリのスタイルファイル(res / values / style.xml)にあります
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="ActionBar" parent="@android:style/Widget.Holo.ActionBar">
<item name="android:background">@drawable/actionbar_background</item>
</style>
<style name="my_theme" parent="@style/Theme.Sherlock.Light">
<item name="android:actionBarStyle">@style/ActionBar</item>
</style>
</resources>
その結果、Theme.Sherlock.Lightスタイルが選択されます(または、交換した場合はTheme.Sherlock)が、アクションバーの背景自体にスタイルの変更はありません。
ありがとう