title: Add separator in menu
body: <p>I have a menu and I want to have a separator between items, like this:
  <a href="https://i.stack.imgur.com/F1uyH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/F1uyH.png" alt="enter image description here"></a></p>
  
  <p>How can I do this?</p>
  
  <p>PS
  I create the menu in xml:</p>
  
  <pre><code>&lt;menu xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:app="http://schemas.android.com/apk/res-auto"
  xmlns:tools="http://schemas.android.com/tools"
  tools:context="com.example.gl.rest.ResultsActivity"&gt;
  
  
  &lt;item
  android:id="@+id/action_viewlog"
  android:orderInCategory="100"
  android:title="View"
  app:showAsAction="never"
  /&gt;
  
  &lt;item
  android:id="@+id/action_shareallresults"
  android:orderInCategory="100"
  android:title="Share"
  app:showAsAction="never"
  /&gt;
  
  &lt;item
  android:id="@+id/action_qhelp"
  android:orderInCategory="100"
  android:title="Help"
  app:showAsAction="never"
  /&gt;
  </code></pre>
  
  <p></p>