title: Method does not override method from its superclass - Action buttons within a fragment
body: <p>Method does not override method from its superclass in android when trying to add action buttons from within a fragment.</p>
  
  <pre><code>@Override
  
  public boolean onCreateOptionsMenu(Menu menu){
      MenuInflater inflater=getActivity().getMenuInflater();
      inflater.inflate(R.menu.forecastfragment, menu);
  
      return true;
  
  }
  </code></pre>