title: Adding margin to MenuItem in Android
body: <p>I'm trying to make a text menu on the right of the Toolbar with a left margin of 16dp. Does anyone know how to set the 16dp margin by adding to the following code?</p>
  
  <pre><code>@Override
  public boolean onCreateOptionsMenu(Menu menu) {
      // Inflate the menu; this adds items to the action bar if it is present.
      final MenuItem menuItem = menu.add(Menu.NONE, 100, Menu.NONE, getString(R.string.menu_done));
      MenuItemCompat.setShowAsAction(menuItem, MenuItem.SHOW_AS_ACTION_IF_ROOM);
      return true;
  }
  </code></pre>