PopUp menu with icons
<p>I'm new on android. I can't add simple icons to the pop up menu.
I added the icons to the xml file but I can't see them.</p>

<p>This is my menu - pop_up_menu.xml</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;item
        android:id="@+id/action_email"
        android:icon="@mipmap/email"
        android:title="E-Mail"
        /&gt;
    &lt;item
        android:id="@+id/action_messenger"
        android:icon="@mipmap/messenger"
        android:title="Messenger"
        /&gt;
    &lt;item
        android:id="@+id/action_skype"
        android:icon="@mipmap/skype"
        android:title="Skype"
        /&gt;
    &lt;item
        android:id="@+id/action_whatsapp"
        android:icon="@mipmap/whatsapp"
        android:title="Whatsapp"
        /&gt;
&lt;/menu&gt;
</code></pre>

<p>I have this OnClickListener that call the showPopUpMenu function after clicking on the moreActionsButton</p>

<pre><code>moreActionsButton.setOnClickListener(new View.OnClickListener() {
    @Override
    public void onClick(View v) {
        showPopUpMenu(us);
    }
});
</code></pre>

<p>This is the showPopUpMenu that creates the menu</p>

<pre><code>public void showPopUpMenu(final User user) {
    View menuItemView = getView().findViewById(R.id.groupLeave);
    PopupMenu popUpMenu = new PopupMenu(getActivity(), menuItemView);
    popUpMenu.getMenuInflater().inflate(R.menu.pop_up_menu, popUpMenu.getMenu());
    popUpMenu.setOnMenuItemClickListener(new PopupMenu.OnMenuItemClickListener() {
        public boolean onMenuItemClick(MenuItem item) {
            switch (item.getItemId()) {
                case R.id.action_messenger:
                    onMessengerClick(user);
                    break;

                case R.id.action_skype:
                    onSkypeClick(user);
                    break;

                case R.id.action_whatsapp:
                    onWhatsappClick(user);
                    break;

                case R.id.action_email:
                    onEmailClick(user);
                    break;

                default:
                    break;

            }
            return true;
        }
    });
    popUpMenu.show();
}
</code></pre>