It is easy to set a default color of the items background in action bar by setting:
<item name="android:actionBarItemBackground">@drawable/action_bar_item_background</item>
in application theme.
I would like to change this color only for one of my fragments. How to do it programmatically?