title: How to change the menu icon of a Toolbar in AppCompat
body: <p>I'm trying to do somethign very simple but yet I hadn't found anything in internet nor stackoverflow about how to solve it. I wanna change the menu icon color to match my other icons. How can I do it?. The <code>setNavigationIcon</code> and <code>setLogo</code> methods of <code>Toolbar</code> doesnt work. Here is a screenshot of my current <code>Toolbar</code>:</p>
  
  <p><img src="https://i.stack.imgur.com/Lixg2.png" alt="enter image description here"></p>
  
  <p>And here is my code that is executed in the <code>onCreate</code> method.</p>
  
  <pre><code>@Override
      protected void onCreate(Bundle savedInstanceState) {
          super.onCreate(savedInstanceState);
          setContentView(R.layout.activity_single_naviation_drawer);
          mItems = getResources().getStringArray(R.array.nav_drawer_items);
          mToolbar = (Toolbar) findViewById(R.id.toolbar);
          mDrawer = (DrawerLayout) findViewById(R.id.drawer_layout);
          mDrawer.setDrawerShadow(R.drawable.drawer_shadow, Gravity.START);
          //For api-21 compatibility
          if (mToolbar != null) {
              setSupportActionBar(mToolbar);
              getSupportActionBar().setDisplayHomeAsUpEnabled(true);
              mDrawerToggle= new ActionBarDrawerToggle(this, mDrawer, mToolbar, R.string.app_name, R.string.app_name);
              mDrawer.setDrawerListener(mDrawerToggle);
              mToolbar.setNavigationIcon(R.drawable.ic_menu); //Doest work (is the white icon)
              mToolbar.setLogo(R.drawable.ic_menu); //Doest work (is the white icon)
          }
          mToolbar.inflateMenu(R.menu.startup_navigation_drawer);
          mContentViewAlreadySet = Boolean.TRUE;
  
          mDrawerList = (ListView) findViewById(R.id.left_drawer);
  
          // Set the adapter for the list view
          mDrawerList.setAdapter(new ArrayAdapter&lt;String&gt;(this,
                  R.layout.drawer_list_item, mItems));
          // Set the list's click listener
          mDrawerList.setOnItemClickListener(new DrawerItemClickListener());
      }
  </code></pre>
  
  <p>I don't care if I end overriding the menu icon animation when I click it, I just want it to match my other icons color.</p>
  
  <p><strong>UPDATE:</strong></p>
  
  <pre><code>&lt;resources xmlns:android="http://schemas.android.com/apk/res/android"&gt;
  
      &lt;style name="AppTheme.Base" parent="Theme.AppCompat.Light"&gt;
          &lt;!--&lt;item name="android:buttonStyle"&gt;@style/AppTheme.Buttons&lt;/item&gt;--&gt;
          &lt;item name="android:windowNoTitle"&gt;true&lt;/item&gt;
          &lt;item name="windowActionBar"&gt;false&lt;/item&gt;
          &lt;item name="isFloatingWindow"&gt;false&lt;/item&gt;
          &lt;!-- colorPrimary is used, for instance, for the default ActionBar
         (but not Toolbar) background.
          We specify the same color for the toolbar background in
          toolbar.xml.. --&gt;
          &lt;item name="colorPrimary"&gt;@color/colorPrimary&lt;/item&gt;
  
          &lt;!-- colorPrimaryDark is used for the status bar (with the
               battery, clock, etc). --&gt;
          &lt;item name="colorPrimaryDark"&gt;@color/colorPrimaryDark&lt;/item&gt;
  
          &lt;!-- colorAccent is used as the default value for
               colorControlActivated which is used to tint widgets. --&gt;
          &lt;item name="colorAccent"&gt;@color/colorSecondary&lt;/item&gt;
          &lt;item name="android:textColorPrimary"&gt;@color/colorSecondary&lt;/item&gt;
      &lt;/style&gt;
  
    &lt;style name="AppTheme" parent="@style/_AppTheme"/&gt;
  
    &lt;style name="_AppTheme" parent="AppTheme.Base"&gt;
  
      &lt;item name="android:editTextBackground"&gt;@drawable/apptheme_edit_text_holo_light&lt;/item&gt;
  
      &lt;item name="android:textColorHighlight"&gt;#9980cbc4&lt;/item&gt;
      &lt;item name="android:textSelectHandleLeft"&gt;@drawable/apptheme_text_select_handle_left&lt;/item&gt;
      &lt;item name="android:textSelectHandleRight"&gt;@drawable/apptheme_text_select_handle_right&lt;/item&gt;
      &lt;item name="android:textSelectHandle"&gt;@drawable/apptheme_text_select_handle_middle&lt;/item&gt;
  
      &lt;item name="android:autoCompleteTextViewStyle"&gt;@style/AutoCompleteTextViewAppTheme&lt;/item&gt;
  
      &lt;item name="android:listChoiceIndicatorMultiple"&gt;@drawable/apptheme_btn_check_holo_light&lt;/item&gt;
  
      &lt;item name="android:listChoiceIndicatorSingle"&gt;@drawable/apptheme_btn_radio_holo_light&lt;/item&gt;
  
      &lt;item name="android:buttonStyle"&gt;@style/ButtonAppTheme&lt;/item&gt;
  
      &lt;item name="android:imageButtonStyle"&gt;@style/ImageButtonAppTheme&lt;/item&gt;
  
      &lt;item name="android:dropDownSpinnerStyle"&gt;@style/SpinnerAppTheme&lt;/item&gt;
  
      &lt;item name="android:progressBarStyleHorizontal"&gt;@style/ProgressBarAppTheme&lt;/item&gt;
  
      &lt;item name="android:seekBarStyle"&gt;@style/SeekBarAppTheme&lt;/item&gt;
  
      &lt;item name="android:ratingBarStyleIndicator"&gt;@style/RatingBarBigAppTheme&lt;/item&gt;
  
      &lt;item name="android:ratingBarStyleSmall"&gt;@style/RatingBarSmallAppTheme&lt;/item&gt;
  
      &lt;item name="android:buttonStyleToggle"&gt;@style/ToggleAppTheme&lt;/item&gt;
  
      &lt;item name="android:listChoiceBackgroundIndicator"&gt;@drawable/apptheme_list_selector_holo_light&lt;/item&gt;
  
      &lt;item name="android:activatedBackgroundIndicator"&gt;@drawable/apptheme_activated_background_holo_light&lt;/item&gt;
  
      &lt;item name="android:fastScrollThumbDrawable"&gt;@drawable/apptheme_fastscroll_thumb_holo&lt;/item&gt;
  
    &lt;/style&gt;
  
  &lt;/resources&gt;
  </code></pre>