Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3950202
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T01:35:03+00:00 2026-05-20T01:35:03+00:00

I am using tabs, with Activity groups in each. I want to add an

  • 0

I am using tabs, with Activity groups in each. I want to add an options menu to certain activities but it won’t show on any. I have options menus working in other projects with the exact same code, so I can’t figure out why they won’t show up. This is the code I am using:

@Override
public boolean onCreateOptionsMenu(Menu menu) {
    menu.add("Option 1");
    menu.add("Option 2");
    menu.add("Option 3");
    return super.onCreateOptionsMenu(menu);
}

Is there anything wrong with this code or anywhere else I should be looking at that might be blocking this menu from showing when I hit the menu button?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T01:35:04+00:00Added an answer on May 20, 2026 at 1:35 am

    The only thing that would be blocking the menu AFAIK would be if you are overriding onKeyDown. Make sure you aren’t overriding that method and thus preventing the menu button from doing what it is supposed to.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know I can cycle through my tabs using cmd+{ or cmd+}, but is
I'm using Visual Basic 9 (VS2008) I want to create new Tabs as and
If I have 10 tabs opened, I have to close each one using :q
I have created four tabs using tabhost, and placed four listviews in each like
I have created some rounded navigation tabs using CSS and am having trouble when
I have created an interface using jQuery UI Tabs, however one of my requirements
Using the jQuery UI Tabs component, is it possible to select new tabs on
I have using the following code for developing tabs. $(document).ready(function() { $('#container-1').tabs(); } ....
I'm using jQuery to create a load of tabs for a web application. I've
I have a small tabbed navigation setup using CSS. When hovering over the tabs

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.