How to give color to menu items for Navigation drawer?
<p>I was creating Navigation Drawer and i saw playtore have colored menu icons
i want to know how can i do this.
I tried to apply colors by colorFilter on menu icons but app force closes</p>

<p><a href="https://i.stack.imgur.com/gCUQz.png" rel="noreferrer"><img src="https://i.stack.imgur.com/gCUQz.png" alt="My app"></a></p>

<p><a href="https://i.stack.imgur.com/fZGvJ.png" rel="noreferrer"><img src="https://i.stack.imgur.com/fZGvJ.png" alt="what i wanted"></a></p>

<p><strong>This is my code</strong></p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;menu xmlns:android="http://schemas.android.com/apk/res/android"&gt;
&lt;group
    android:id="@+id/grp1"
    android:checkableBehavior="single"&gt;
    &lt;item
        android:id="@+id/navigation_songs"
        android:checked="true"
        android:icon="@drawable/ic_audiotrack_white_24dp"
        android:title="@string/songs" /&gt;
    &lt;item
        android:id="@+id/navigation_albums"
        android:icon="@drawable/ic_album_white_24dp"
        android:title="@string/albums" /&gt;
    &lt;item
        android:id="@+id/navigation_artist"
        android:icon="@drawable/ic_person_white_24dp"
        android:title="@string/artists" /&gt;
    &lt;item
        android:id="@+id/navigation_playlist"
        android:icon="@drawable/ic_playlist_play_white_24dp"
        android:title="@string/playlist" /&gt;
&lt;/group&gt;
&lt;group
    android:id="@+id/grp2"
    android:checkableBehavior="none"&gt;
    &lt;item
        android:id="@+id/navigation_about"
        android:icon="@drawable/ic_info_white_24dp"
        android:title="@string/about" /&gt;
    &lt;item
        android:id="@+id/navigation_settings"
        android:icon="@drawable/ic_settings_white_24dp"
        android:title="@string/settings" /&gt;
&lt;/group&gt;
&lt;/menu&gt;
</code></pre>