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 8834299
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T08:58:51+00:00 2026-06-14T08:58:51+00:00

After hours of browsing the internet, I am still having a problem showing a

  • 0

After hours of browsing the internet, I am still having a problem showing a menu on my app.
I have a viewflipper with in it several scrollviews and they have several layouts as well.
The whole app works great, I can swipe from scrollview to scrollview without any problems.

Before I connected a Samsung Galaxy Tab to play with, I was running the app in the emulator. There if I pressed the menu button, the submenu was showing and I was able to run functions on menu item touch.

On the tablet, the menu is not showing anywhere.

Here is my menu file:

<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android" >

    <item
        android:id="@+id/KPNsites"
        android:icon="@drawable/ic_menu_name"
        android:title="KPN Sites"/>
    <item
        android:id="@+id/VDFsites"
        android:icon="@drawable/ic_menu_name"
        android:title="Vodafone sites"/>

</menu>

In my activity I have this code:

@Override
    public boolean onCreateOptionsMenu(Menu my_menu) {

        MenuInflater inflater = getMenuInflater();
        inflater.inflate(R.menu.menu, my_menu);
        return super.onCreateOptionsMenu(my_menu);
    }

    @Override
    public boolean onOptionsItemSelected(MenuItem item) {

        switch (item.getItemId()) {

        case R.id.KPNsites:

            getKPNsiteInfo();
            return true;

        case R.id.VDFsites:

            getVodafoneSiteInfo();
            return true;

        default:
            return super.onOptionsItemSelected(item);
        }
    }

When I run the app on the tablet, I only have a small bar at the top with only te app-name in it. I suspect the menu should be visible on that bar?

What else should I do / have done (differently)??

rg,
Eric

  • 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-06-14T08:58:53+00:00Added an answer on June 14, 2026 at 8:58 am

    well gave it up for now.
    every try messes up what I already got.

    To get by, I’ve put buttons on the layout.

    May be with the next project I get it working.
    (but then by starting with it before I have all my layouts finished)

    Thanks for the help!

    rg,
    Eric

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

Sidebar

Related Questions

After browsing for several hours, I'm completely stumped on how to prevent Windows 7
Struggling still with this after hours or research.. I have a simple helper class
After hours of searching on the internet, I still wasn't able to find an
I want to make a table where the entries expire 24 hours after they
There must be a simple solution to this, but after 4 hours of browsing
Well, after hours of trying to find something out, I have to ask here
I have an assignment and after hours of pondering and fighting off my illness
Ruby 1.9.3-p194 Rails 3.0.3 I was having libcrypt errors today, and after hours of
After hours of searching, finding similar threads and still not being able to get
Of course after hours of pondering this problem, the first comment on my question

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.