onCreateOptionsMenu inside Fragments
<p>I have placed setHasOptionsMenu(true) inside my onCreateView, but still i can't call my onCreateOptionsMenu inside fragments.</p>

<pre><code>@Override
public View onCreateView(LayoutInflater inflater, ViewGroup 
                   container, Bundle savedInstanceState) {  
   setHasOptionsMenu(true);             
   return inflater.inflate(R.layout.facesheet, container, false);
}
</code></pre>

<p>Below is my onCreateOptionsMenu code.</p>

<pre><code>@Override
public boolean onCreateOptionsMenu(com.actionbarsherlock.view.Menu menu) {
    getSupportMenuInflater().inflate(R.menu.layout, menu);
    return (super.onCreateOptionsMenu(menu));
}
</code></pre>

<p>Error i get: </p>

<p>The method <code>onCreateOptionsMenu(Menu)</code> of type Fragment must override or implement a supertype method</p>
