title: Cannot create actionbar menu item using actionbarsherlock
body: <p>I'm having trouble with using menu item on action bar using <code>slidingmenu library</code> with <code>actionbarsherlock</code>.</p>
  
  <p>Anyone can help?</p>
  
  <p>Here is the code</p>
  
  <pre><code>@Override
  public boolean onOptionsItemSelected(MenuItem item) {   
      switch (item.getItemId()) {
      case android.R.id.home:
          toggle();
          return true;        
      }
      return onOptionsItemSelected(item);
  }
  
  @Override
  public boolean onCreateOptionsMenu(Menu menu) {
      getSupportMenuInflater().inflate(R.menu.menu, menu);        
      return true;
  }
  </code></pre>
  
  <p>this is the menu.xml</p>
  
  <pre><code>&lt;menu xmlns:android="http://schemas.android.com/apk/res/android" &gt;
  
  &lt;item 
      android:id="@+id/print"
      android:title="@string/printItem"
      android:icon="@drawable/ic_print"
      android:showAsAction="always" /&gt;
  &lt;item 
      android:id="@+id/share"
      android:title="@string/shareItem"
      android:icon="@drawable/ic_action_share"
      android:showAsAction="always"
      android:actionProviderClass="android.widget.ShareActionProvider" /&gt;       
  </code></pre>
  
  <p></p>
  
  <p>My logcat says that I encountered runtime error at</p>
  
  <pre><code>@Override
  public boolean onCreateOptionsMenu(Menu menu) {
      getSupportMenuInflater().inflate(R.menu.menu, menu);        
      return true;
  }
  </code></pre>