Android: onOptionsItemSelected() called in SherlockActivity, but not in SherlockFragmentActivity
<p>I have problems with the onOptionsItemSelected() in SherlockFragmentActivity.
The onCreateOptionsMenu() is called and the option menu is built perfectly, but when I click on an Options item, the onOptionsItemSelected() isn't called.</p>

<p>I tried the same following code in a test Project using SherlockActivity and there it works:</p>

<pre><code>    @Override
    public boolean onCreateOptionsMenu(Menu menu) {

    menu.add(0, 1, 0, "hi").setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM | MenuItem.SHOW_AS_ACTION_WITH_TEXT);
    menu.add(0, 1, 0, "ha").setShowAsAction(MenuItem.SHOW_AS_ACTION_NEVER | MenuItem.SHOW_AS_ACTION_NEVER);

    return true;
    }

    @Override
    public boolean onOptionsItemSelected(MenuItem item) {
        if (item.getItemId() == 1) {
            // Do someting!

        }
        return true;
    }
</code></pre>

<p>In both cases, the following imports are done:</p>

<pre><code>   import com.actionbarsherlock.app.ActionBar;
   import com.actionbarsherlock.view.Menu;
   import com.actionbarsherlock.view.MenuItem;
</code></pre>

<p>Does anyone know help? Thank you!</p>
