title: Extending a menu in Android Fragment
body: <p>I got an Android application with a single activity and many fragments. What i want to do is have a menu with 2 base options which every fragment will have and let each fragment add it's own option in addition to these base 2 options.
  I saw how you can do it when extending Activities, but I'm not sure how to do it with fragments. As I understand, calling <code>setHasOptionsMenu(true)</code> will simply overwrite the Activity's menu and let the fragment has its own menu, but it will then create duplicates of the same menu option does it not?</p>