Hi platform devs,
I'm experiencing problems with my app not showing the compatibility action
overflow in the navigation bar for my programs on Nexus 7. All other
handsets work well (i.e. Galaxy nexus with JB just shows it fine), so this
is a Nexus 7 specific issue. (I can reproduce the thing in the emulator too
if I choose to install the nexus 7 UI). This seems to me like the new UI
behaves differently than the TABLET and PHONE UI.
I'm using minsdk set to 8 and target to 11. According to the blog here:
http://android-developers.blogspot.hu/2012/01/say-goodbye-to-menu-but...
-
If you set either minSdkVersion or targetSdkVersion to 11 or higher, the
system *will not* add the legacy overflow button.
-
Otherwise, the system *will* add the legacy overflow button when running
on Android 3.0 or higher.
-
The only exception is that if you set minSdkVersion to 10 or lower, set
targetSdkVersion to 11, 12, or 13, and you do not use ActionBar<http://developer.android.com/reference/android/app/ActionBar.html>,
the system *will* add the legacy overflow button when running your app *on
a handset* with Android 4.0 or higher.
This would indicate that I meet the third (exception) condition so it would
have a compatibility action overflow button, and indeed, it appears on my
Galaxy Nexus running jelly bean, but NOT on a Nexus 7.
Is this because the Nexus 7 is not considered a *handset* ???
Any hint on why this was done and how to handle this difference (apart from
redesigning my program to use action bars = I need a quick solution)
Rudolf