更新时间:2021-07-07 08:18:51
下面是你如何能更改动作条背景:
Here's how you can change the actionbar background:
<style name="MyTheme" parent="Theme.Sherlock">
<item name="actionBarStyle">@style/MyActionBar</item>
<item name="android:actionBarStyle">@style/MyActionBar</item>
</style>
<style name="MyActionBar" parent="Widget.Sherlock.ActionBar">
<item name="background">@drawable/your_custom_drawable</item>
<item name="android:background">@drawable/your_custom_drawable</item>
</style>