It seems that people using devices with hardware menu button with less than Android Kitkat still don't get the menu button on the screen, even with the new r21/r22 appcompat library.
I guess it is determined by the internal ActionBarPolicy
class:
public boolean showsOverflowMenuButton() {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
return true;
} else {
return !ViewConfigurationCompat.hasPermanentMenuKey(ViewConfiguration.get(mContext));
}
}
so forced overflow menu button is only on KitKat and above.
Is there any way to force the overflow menu to appear, even if the app runs on devices less than KitKat with hardware menu button?