title: Use a ColorStateList with a checkable option menu item and state_checked
body: <p>My options menu is populated with items such as:</p>
  
  <pre><code>&lt;item
      android:id="@+id/menu_bus"
      android:checkable="true"
      android:checked="true"
      android:icon="@drawable/icon_bus"
      android:title="@string/bus"
      app:showAsAction="ifRoom"/&gt;
  </code></pre>
  
  <p>Here's my <code>onOptionsItemsSelected</code>:</p>
  
  <pre><code>@Override
  public boolean onOptionsItemSelected(MenuItem item) {
      item.setChecked(!item.isChecked());
  
      Log.d("test", "Item " + item + " is now checked: " + item.isChecked());
      ColorStateList colorStateList = getResources().getColorStateList(R.color.options_menu_colors);
      Drawable d = DrawableCompat.wrap(item.getIcon());
      DrawableCompat.setTintList(d, colorStateList);
      item.setIcon(d);
  
      return true;
  }
  </code></pre>
  
  <p>As you can see my goal is to have widget tinting in older versions of android, using the feature of the support libraries v22.1.</p>
  
  <p>The color is defined as such:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;selector xmlns:android="http://schemas.android.com/apk/res/android"&gt;
      &lt;item android:color="@color/accent" android:state_checked="true"/&gt;
      &lt;item android:color="@color/secondary_text"/&gt;
  &lt;/selector&gt;
  </code></pre>
  
  <p>However the <code>state_checked</code> isn't working with checkbox menu items!</p>
  
  <p>Here's the log of icon presses:</p>
  
  <pre><code>D/test    (11529): Item Bus is checked: false
  D/test    (11529): Item Bus is checked: true
  D/test    (11529): Item Bus is checked: false
  D/test    (11529): Item Bus is checked: true
  </code></pre>
  
  <p>I tried to switch the selector to <code>state_pressed</code>: this one works! While touching the menu item, the color changes!</p>
  
  <p>So why can't the <code>ColorStateList</code> work with the <code>state_checked</code> on option menu items?</p>
  
  <p>PS: using this works:</p>
  
  <pre><code>int colorId = item.isChecked() ? R.color.accent : R.color.secondary_text;
  int color = getResources().getColor(colorId);
  DrawableCompat.setTint(d, color);
  </code></pre>
  
  <p>But obviously I would've wanted something more elegant.</p>