You can force the appearance of the Overflow menu when a physical menu key is present with this hack below, calling that function with true for value. Not sure it still works on rcent versions of Android though. And of couse, someone is probably going to say "don't do it!".
static public void setHasPermanentMenuKey(Context context, boolean value) { if (isICSOrLater()) { ViewConfiguration config = ViewConfiguration.get(context); try { Field f = ViewConfiguration.class .getDeclaredField("sHasPermanentMenuKey"); f.setAccessible(true); if (f != null) { f.set(config, value); log.info("Successfully hacked permanent menu key"); } } catch (Exception ex) { log.info("Unable to hack permanent menu key: " + ex); } } } -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.