I am using ActionBarSherlock to create a menu (with the three dots) at the top and then have a few items as a submenu. The menu is showing up on tablets, but not on a four inch phone. The app can run on sdkVersion 9-17.
My menu.xml is:
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
<item
android:id="@+id/menu_weather"
android:title="@string/weather"
android:icon="@drawable/weather_tab"/>
<item
android:id="@+id/menu_emergency"
android:title="@string/emergency_nums" />
<item
android:id="@+id/menu_suggest"
android:title="@string/friend" />
<item
android:id="@+id/menu_support"
android:title="@string/faq" />
<item
android:id="@+id/menu_about"
android:title="@string/about" />
</menu>
And I have a menu inflate of:
public boolean onCreateOptionsMenu(Menu menu)
{
getSupportMenuInflater().inflate(R.menu.menu, menu);
return true;
}
Thanks in advance for any help.
I kept searching and this is what finally worked for me: https://stackoverflow.com/a/11438245/2291915
I hope this can help someone else. I hadn't realized because I was using this on an emulator it was really about whether there was hard or soft buttons.