Traditional Actionbar evolves to the use of Toolbar, which is much more flexible. I recommend that you use the principles of Material Design and make use of Toolbar, so you can change your style in several ways, after all it is only a View.
<android.support.v7.widget.Toolbar
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:id="@+id/toolbar_sort"
android:title="Toolbar"
app:popupTheme="@style/ThemeOverlay.AppCompat.Light"
android:background="@color/theme_primary_dark" />
To set the Toolbar as Actionbar
setSupportActionBar(toolbar);
Don’t forget to add in graddle dependencies
compile "com.android.support:appcompat-v7:22.2.1"
EDIT: No eclipse you can follow these footsteps to include the libs
EDIT 2: I didn’t mention it here, but you must change your Theme by removing Actionbar to be able to use Toolbar as Actionbar correctly.
<style name="Theme.MyTheme.Base" parent="Theme.AppCompat.Light.NoActionBar">
<item name="actionBarStyle">@style/MyActionBarStyle</item>
<item name="colorPrimary">@color/theme_primary</item>
<item name="colorPrimaryDark">@color/theme_primary_dark</item>
<item name="colorAccent">@color/theme_accent</item>
</style>
<style name="MyActionBarStyle" parent="Theme.AppCompat.Light.DarkActionBar">
<item name="android:background">@color/theme_primary_dark</item>
</style>
Behold here
– ramaral