title: Change MenuItem text color programmatically
body: <p>So I have a menu item, that's defined as:</p>
  
  <pre><code>&lt;item
      android:id="@+id/action_live"
      android:title="@string/action_live"
      android:orderInCategory="1"
      app:showAsAction="ifRoom|withText" /&gt;
  </code></pre>
  
  <p>It shows as text, as you can see below:</p>
  
  <p><a href="https://i.stack.imgur.com/I02aL.png" rel="noreferrer"><img src="https://i.stack.imgur.com/I02aL.png" alt="Screenshot 1"></a></p>
  
  <p>And I want to programmatically change the "LIVE" text color. I've searched for a while and I found a method:</p>
  
  <p>With globally defined:</p>
  
  <pre><code>private Menu mOptionsMenu;
  </code></pre>
  
  <p>and:</p>
  
  <pre><code>@Override
  public boolean onCreateOptionsMenu(Menu menu) {
      mOptionsMenu = menu;
      getMenuInflater().inflate(R.menu.menu_main, menu);
      return true;
  }
  </code></pre>
  
  <p>I do:</p>
  
  <pre><code>MenuItem liveitem = mOptionsMenu.findItem(R.id.action_live);
  SpannableString s = new SpannableString(liveitem.getTitle().toString());
  s.setSpan(new ForegroundColorSpan(Color.RED), 0, s.length(), 0);
  liveitem.setTitle(s);
  </code></pre>
  
  <p>But nothing happens!</p>
  
  <p>If I do the same for an item of the overflow menu, it works:</p>
  
  <p><a href="https://i.stack.imgur.com/eqS29.png" rel="noreferrer"><img src="https://i.stack.imgur.com/eqS29.png" alt="Screenshot 2"></a></p>
  
  <p>Is there some limitation for app:showAsAction="ifRoom|withText" items? Is there any workaround?</p>
  
  <p>Thanks in advance.</p>