title: how to set unread notification count in NavigationView of DrawerLayout?
body: <p>I have created one <a href="https://developer.android.com/reference/android/support/design/widget/NavigationView.html" rel="noreferrer">NavigationView</a> inside <a href="https://developer.android.com/reference/android/support/v4/widget/DrawerLayout.html" rel="noreferrer">DrawerLayout</a> using <a href="http://android-developers.blogspot.in/2015/05/android-design-support-library.html" rel="noreferrer">Android Design Support Library </a></p>
  <pre><code> &lt;android.support.v4.widget.DrawerLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
       xmlns:app=&quot;http://schemas.android.com/apk/res-auto&quot;
       android:id=&quot;@+id/drawer_layout&quot;
       android:layout_width=&quot;match_parent&quot;
       android:layout_height=&quot;match_parent&quot;
       android:fitsSystemWindows=&quot;true&quot;&gt;
  
       &lt;!-- other views --&gt;
  
       &lt;android.support.design.widget.NavigationView
           android:id=&quot;@+id/navigation&quot;
           android:layout_width=&quot;wrap_content&quot;
           android:layout_height=&quot;match_parent&quot;
           android:layout_gravity=&quot;start&quot;
           app:menu=&quot;@menu/my_navigation_items&quot; /&gt;
   &lt;/android.support.v4.widget.DrawerLayout&gt;
  </code></pre>
  <p><strong>my_navigation_items.xml</strong></p>
  <pre><code>&lt;menu xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;&gt;
  
      &lt;group android:checkableBehavior=&quot;single&quot;&gt;
          &lt;item
              android:id=&quot;@+id/bookmarks_drawer&quot;
              android:icon=&quot;@drawable/ic_drawer_bookmarks&quot;
              android:title=&quot;@string/bookmarks&quot; /&gt;
          &lt;item
              android:id=&quot;@+id/alerts_drawer&quot;
              android:icon=&quot;@drawable/ic_drawer_alerts&quot;
              android:title=&quot;@string/alerts&quot; /&gt;
          &lt;item
              android:id=&quot;@+id/settings_drawer&quot;
              android:icon=&quot;@drawable/ic_drawer_settings&quot;
              android:title=&quot;@string/settings&quot; /&gt;
      &lt;/group&gt; 
  &lt;/menu&gt;
  </code></pre>
  <p>Now, I want to set unread notification counter for each item of <code>NavigationView</code> like below image:</p>
  <p><a href="https://i.stack.imgur.com/TlsFf.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/TlsFf.jpg" alt="unread notification counter" /></a></p>
  <p>how to set unread notification counter on item of <code>NavigationView</code> ?</p>