title: How to change color of toolbar options background
body: <p>I want to change the light background of options in the toolbar as well as the section that appears when trying to copy something. It's really bad right now:</p>
  
  <p><a href="https://i.stack.imgur.com/as9nv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/as9nv.png" alt="enter image description here"></a></p>
  
  <p>Here is my styles.xml :</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;resources&gt;
    &lt;style name="MyTheme.Base" parent="Theme.AppCompat.Light.NoActionBar"&gt;
      !-- All customizations that are NOT specific to a particular API-level can go here. --&gt;
      &lt;item name="windowNoTitle"&gt;true&lt;/item&gt;
      &lt;item name="colorPrimary"&gt;@color/primary&lt;/item&gt;
      &lt;item name="colorPrimaryDark"&gt;@color/primary_dark&lt;/item&gt;
      &lt;item name="colorAccent"&gt;@color/accent&lt;/item&gt;
       &lt;item name="android:textColorPrimary"&gt;@color/primary_text&lt;/item&gt;
       &lt;item name="android:textColorSecondary"&gt;@color/secondary_text&lt;/item&gt;
  
    &lt;/style&gt;
  
    &lt;!-- Application theme. --&gt;
    &lt;style name="MyTheme" parent="MyTheme.Base"&gt;
    &lt;/style&gt;
  
    &lt;style name="MyTheme.ToolBar" parent="MyTheme.Base"&gt;
      &lt;item name="android:textColorPrimary"&gt;@android:color/white&lt;/item&gt;
      &lt;item name="android:textColorSecondary"&gt;@android:color/white&lt;/item&gt;
    &lt;/style&gt;
  
    &lt;style name="MyTheme.NavMenu" parent="MyTheme.Base"&gt;
      &lt;item name="android:textColorPrimary"&gt;@color/gray&lt;/item&gt;
    &lt;/style&gt;
  
    &lt;style name="MyTheme.RightMenu" parent="MyTheme.Base"&gt;
      &lt;item name="android:textColorPrimary"&gt;@color/black&lt;/item&gt;
    &lt;/style&gt;
  &lt;/resources&gt;
  </code></pre>
  
  <p>As you may have noticed I'm using <code>NoActionBar</code> because I'm using a toolbar. It's on my main.xml :</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      android:id="@+id/drawer"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:fitsSystemWindows="true"&gt;
  &lt;!-- your content layout --&gt;
      &lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:orientation="vertical"&gt;
      &lt;!-- Toolbar instead of ActionBar so the drawer can slide on top --&gt;
          &lt;android.support.v7.widget.Toolbar
              android:id="@+id/toolbar"
              app:theme="@style/MyTheme.ToolBar"
              android:layout_width="match_parent"
              android:layout_height="@dimen/abc_action_bar_default_height_material"
              android:background="?attr/colorPrimary"
              android:minHeight="?attr/actionBarSize" /&gt;
      &lt;!-- Real content goes here --&gt;
          &lt;FrameLayout
              android:id="@+id/content_frame"
              android:layout_width="match_parent"
              android:layout_height="0dp"
              android:layout_weight="1" /&gt;
      &lt;/LinearLayout&gt;
      &lt;android.support.design.widget.NavigationView
          android:layout_width="wrap_content"
          android:layout_height="match_parent"
          android:layout_gravity="start"
          android:id="@+id/nav_view"
          app:headerLayout="@layout/nav_view_header"
          app:menu="@layout/nav_view_menu"
          app:theme="@style/MyTheme.NavMenu" /&gt;
  &lt;/android.support.v4.widget.DrawerLayout&gt;
  </code></pre>