title: MenuItem tinting on AppCompat Toolbar
body: <p>When I use drawables from the <code>AppCompat</code> library for my <code>Toolbar</code> menu items the tinting works as expected. Like this:</p>
  
  <pre><code>&lt;item
      android:id="@+id/action_clear"
      android:icon="@drawable/abc_ic_clear_mtrl_alpha"  &lt;-- from AppCompat
      android:title="@string/clear" /&gt;
  </code></pre>
  
  <p>But if I use my own drawables or actually even copy the drawables from the <code>AppCompat</code> library to my own project it will not tint at all.</p>
  
  <pre><code>&lt;item
      android:id="@+id/action_clear"
      android:icon="@drawable/abc_ic_clear_mtrl_alpha_copy"  &lt;-- copy from AppCompat
      android:title="@string/clear" /&gt;
  </code></pre>
  
  <p>Is there some special magic in the <code>AppCompat</code> <code>Toolbar</code> that only tint drawables from that library? Any way to get this to work with my own drawables?</p>
  
  <p>Running this on API Level 19 device with <code>compileSdkVersion = 21</code> and <code>targetSdkVersion = 21</code>, and also using everything from <code>AppCompat</code></p>
  
  <p><code>abc_ic_clear_mtrl_alpha_copy</code> is an exact copy of the <code>abc_ic_clear_mtrl_alpha</code> png from <code>AppCompat</code></p>
  
  <p><strong>Edit:</strong></p>
  
  <p>The tinting is based on the value I have set for <code>android:textColorPrimary</code> in my theme.</p>
  
  <p>E.g. <code>&lt;item name="android:textColorPrimary"&gt;#00FF00&lt;/item&gt;</code> would give me a green tint color.</p>
  
  <p><strong>Screenshots</strong></p>
  
  <p>Tinting working as expected with drawable from AppCompat
  <img src="https://i.stack.imgur.com/WmKBn.png" alt="Tinting working as expected with drawable from AppCompat"></p>
  
  <p>Tinting not working with drawable copied from AppCompat
  <img src="https://i.stack.imgur.com/1ty8s.png" alt="Tinting not working with drawable copied from AppCompat"></p>