Note that there are some explanatory texts on larger screens.

plurals
  1. POmenu not visible on tablet
    primarykey
    data
    text
    <p>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.</p> <p>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.</p> <p>On the tablet, the menu is not showing anywhere.</p> <p>Here is my menu file:</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;menu xmlns:android="http://schemas.android.com/apk/res/android" &gt; &lt;item android:id="@+id/KPNsites" android:icon="@drawable/ic_menu_name" android:title="KPN Sites"/&gt; &lt;item android:id="@+id/VDFsites" android:icon="@drawable/ic_menu_name" android:title="Vodafone sites"/&gt; &lt;/menu&gt; </code></pre> <p>In my activity I have this code:</p> <pre><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); } } </code></pre> <p>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?</p> <p>What else should I do / have done (differently)??</p> <p>rg, Eric</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload