title: ActionBar MenuItem Divider
body: <p>Is there a way to show Divider between the Menu Items in ActionBar for HoneyComb+.</p>
  
  <p>Some post says that the Divider will be shown only when the menu items has android:showAsAction="withText".</p>
  
  <p>I want to show only the Icon not the Text.</p>
  
  <p>I successfully shown Divider for Pre-HoneyComb by implementing a Action Bar Compatibility.</p>
  
  <p>I dont want to use ActionBarSherlock as given in this post <a href="https://stackoverflow.com/questions/9274259/android-actionbar-sherlok-doesnt-show-divider">Android actionbar sherlok doesn&#39;t show divider</a> because it will be time to change from Action Bar Compatibility to ActionBarSherlock in my all Projects.</p>
  
  <p>When i saw the Android Source i found that Divider will be show only when it has text as shown below (from ActionMenuItemView)</p>
  
  <pre><code>public boolean needsDividerBefore() {
      return hasText() &amp;&amp; mItemData.getIcon() == null;
  }
  
  public boolean needsDividerAfter() {
      return hasText();
  }
  </code></pre>
  
  <p>Is there a way that I can give my Implementation for ActionMenuItemView for ActionBar where needsDividerBefore() will always give true </p>