title: Android: Style ActionMode on AppCompat-v7 with Toolbar
body: <p>I have made a ListView with selectable items but the ActionMode is not showing properly. (There is and a "compare" menu button on the right with white color)</p>
  
  <p><img src="https://i.stack.imgur.com/AsBVT.jpg" alt="enter image description here"></p>
  
  <p>I tried to style the actionMode with the following code but nothing changes. Any ideas why might this happens? I found out that if I set the background color direct on the Toolbar widget instead of the DarkTheme.ActionBar the color arround the text on actionMode is gone but still the color of the text is white and also I need to have the color of the ActionBar defined on the theme instead of the widget.</p>
  
  <p><strong>toolbar.xml</strong></p>
  
  <pre><code>&lt;android.support.v7.widget.Toolbar xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      android:id="@+id/action_bar"
      android:layout_height="wrap_content"
      android:layout_width="match_parent"
      android:minHeight="?attr/actionBarSize"
      app:theme="@style/DarkTheme.ActionBar"
      app:popupTheme="@style/DarkTheme.Popup"/&gt;
  </code></pre>
  
  <p><strong>mytheme.xml</strong></p>
  
  <pre><code>&lt;resources&gt;
  
  &lt;style name="DarkTheme.ActionBar" parent="Theme.AppCompat.Light.DarkActionBar"&gt;
      &lt;item name="android:textColorPrimary"&gt;@color/abc_primary_text_material_dark&lt;/item&gt;
      &lt;item name="actionMenuTextColor"&gt;@color/abc_primary_text_material_dark&lt;/item&gt;
      &lt;item name="android:textColorSecondary"&gt;#ffff8800&lt;/item&gt;
      &lt;item name="android:textAllCaps"&gt;false&lt;/item&gt;
      &lt;item name="android:background"&gt;#303030&lt;/item&gt;
  &lt;/style&gt;
  
  &lt;style name="DarkTheme.Popup" parent="ThemeOverlay.AppCompat.Dark"&gt;
      &lt;item name="android:textColor"&gt;#ffffff&lt;/item&gt;
  &lt;/style&gt;
  
  &lt;style name="DarkTheme" parent="Theme.AppCompat.Light.NoActionBar"&gt;
      &lt;item name="android:textColor"&gt;#101010&lt;/item&gt;
      &lt;item name="android:textColorLink"&gt;#ff0099cc&lt;/item&gt;
      &lt;item name="windowActionModeOverlay"&gt;true&lt;/item&gt;
      &lt;item name="android:colorPrimaryDark"&gt;#000000&lt;/item&gt;
      &lt;item name="android:navigationBarColor"&gt;#000000&lt;/item&gt;
      &lt;item name="android:textAllCaps"&gt;false&lt;/item&gt;
      &lt;item name="android:actionModeStyle"&gt;@style/DarkTheme.ActionMode&lt;/item&gt;
  &lt;/style&gt;
  
  &lt;style name="DarkTheme.ActionMode" parent="Widget.AppCompat.ActionMode"&gt;
      &lt;item name="android:actionModeBackground"&gt;@android:color/black&lt;/item&gt;
      &lt;item name="android:background"&gt;#000000&lt;/item&gt;
      &lt;item name="android:backgroundSplit"&gt;#000000&lt;/item&gt;
  &lt;/style&gt;
  
  &lt;/resources&gt;
  </code></pre>