How to draw a line between menu item in navigation drawer
<p>I want to highlight navigation items like this:</p>

<p><img src="https://i.stack.imgur.com/rzVzl.png" alt="highlighted item in navigation menu"></p>

<p>But my current menu looks like this:</p>

<p><img src="https://i.stack.imgur.com/Jxi4P.png" alt="not highlighted item in navigation menu"></p>

<p>My menu.xml is </p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
    &lt;menu xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"&gt;
    &lt;group android:checkableBehavior="single"&gt;
    &lt;group android:checkableBehavior="single"&gt;
        &lt;item android:id="@+id/home"
            android:title="Home"
            android:icon="@drawable/ic_action_home_page"/&gt;&lt;/group&gt;
    &lt;group android:checkableBehavior="single"&gt;
        &lt;item android:id="@+id/p_profile"
            android:title="Payment Profile"
            android:icon="@drawable/ic_action_payment_profile"/&gt;&lt;/group&gt;
    &lt;group android:checkableBehavior="single"&gt;
        &lt;item android:id="@+id/p_history"
            android:title="Payment history"
            android:icon="@drawable/ic_action_payment_history"/&gt;&lt;/group&gt;
    &lt;group android:checkableBehavior="single"&gt;
        &lt;item android:id="@+id/m_cards"
            android:title="My cards"
            android:icon="@drawable/ic_action_my_card"/&gt;&lt;/group&gt;
        &lt;group android:checkableBehavior="single"&gt;
            &lt;item android:id="@+id/menu_friends"
                android:title="Friends"
                android:icon="@drawable/search_people"/&gt;&lt;/group&gt;

    &lt;group android:checkableBehavior="single"&gt;
        &lt;item android:id="@+id/notification"
            android:title="Notification"
            android:icon="@drawable/ic_action_notification"/&gt;&lt;/group&gt;
    &lt;group android:checkableBehavior="single"&gt;
        &lt;item android:id="@+id/about"
            android:title="About"
            android:icon="@drawable/ic_action_about_us"/&gt;&lt;/group&gt;

    &lt;/group&gt;
&lt;/menu&gt;
</code></pre>

<p>How can I create the above highlight effect?</p>