title: How to make different menu options in different Fragment?
body: <p>I want to have completely different <code>menu options</code> in different <code>fragment</code>.I followed <a href="https://stackoverflow.com/questions/23338937/how-can-i-change-option-menu-in-different-fragments">this</a> post.But my fragment menu is adding with the activity menu.But i don't want to have activity menus in some of my fragments.<br>
  In <code>SlidingDrawerActivity</code>:<br></p>
  
  <pre><code>  @Override
      public boolean onCreateOptionsMenu(Menu menu) {
          getMenuInflater().inflate(R.menu.menu_main, menu);
          return true;
      }
  </code></pre>
  
  <p>In my fragment:<br></p>
  
  <pre><code>public Friends_Status_Comment_Fragment(){
          setHasOptionsMenu(true);
      }
    @Override
      public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {
          inflater.inflate(R.menu.menu_add_comment,menu);
          super.onCreateOptionsMenu(menu, inflater);
  
      }
  </code></pre>
  
  <p>The Activities items are adding with the menu of fragment.How to stop it???</p>