title: Android NavigationView menu toggle button
body: <p>I want to use toggle button or at least checkbox in my <code>NavigationView</code> for the feature of control notifications from from it(on/off).</p>
  
  <p>The layout done with help of "menu.xml" file.</p>
  
  <p>I tried to add <code>checkable="true"</code> but it shows nothing.
  How to Implement it?</p>
  
  <p>
      </p>
  
  <pre><code>    &lt;group android:checkableBehavior="single"&gt;
          &lt;item
              android:id="@+id/profile"
              android:icon="@drawable/ic_account_grey600_48dp"
              android:title="@string/profile" /&gt;
          &lt;item
              android:id="@+id/tutorial"
              android:icon="@drawable/ic_help_grey600_48dp"
              android:title="@string/tutorial" /&gt;
  &lt;item
      android:id="@+id/checkable_menu"
      android:checkable="true"
      android:title="@string/haircut_notifications" /&gt;
  
      &lt;/group&gt;
  
      &lt;group
          android:id="@+id/menu_bottom"
          android:checkableBehavior="none"&gt;
          &lt;item
              android:id="@+id/nav_share"
              android:icon="@drawable/ic_share_variant_grey600_48dp"
              android:title="@string/share" /&gt;
          &lt;item
              android:id="@+id/selfie_videos"
              android:icon="@drawable/ic_camera_front_variant_grey600_48dp"
              android:title="@string/selfie_videos" /&gt;
      &lt;/group&gt;
  
  &lt;/menu&gt;
  </code></pre>
  
  <p>EDIT:</p>
  
  <p>Little example at Google M with toggle just like I want to achieve.</p>
  
  <p>Have any idea to do that?</p>
  
  <p><a href="https://i.stack.imgur.com/tYQ6B.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tYQ6B.png" alt="enter image description here"></a></p>