私は ActionBarSherlock を使用しており、アクション バー アイテムにカスタム背景を設定しようとしています。
私はもう試した:
<item name="actionButtonStyle">@style/customActionButtonStyle</item>
<item name="android:actionButtonStyle">@style/customActionButtonStyle</item>
</style>
<style name="customActionButtonStyle" parent="Widget.Sherlock.Light.ActionButton">
<item name="android:background">@drawable/background_black_translucent</item>
</style>
と
<item name="android:selectableItemBackground">@drawable/background_black_translucent</item>
<item name="selectableItemBackground">@drawable/background_black_translucent</item>
<item name="android:actionBarItemBackground">@drawable/background_black_translucent</item>
<item name="actionBarItemBackground">@drawable/background_black_translucent</item>
しかし、私はそれを機能させることができません。何か案は?
ありがとう