I solved it by first discovering the right terminology. It is the text selection contextual actionbar but in the documentation it is referred to as the actionmode bar.
I did the following to style the bar as I please.
<!-- Application theme. -->
<style name="AppTheme" parent="@android:style/Theme.Holo.Light.DarkActionBar">
<item name="android:layout_width">match_parent</item>
<item name="android:layout_height">match_parent</item>
<item name="android:textColor">#c9c9c9</item>
<item name="android:background">@color/background</item>
<item name="android:actionModeStyle">@style/MyActionMode</item>
<item name="android:actionBarStyle">@style/MyActionBar</item>
</style>
and then...
<!-- ActionMode styles -->
<style name="MyActionMode" parent="@android:style/Widget.Holo.Light.ActionBar.Solid.Inverse">
<item name="android:background">@color/background</item>
</style>
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.