Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>The action overflow menu is only available when there is no hard menu button available on the device. I found this stated in the Framework Topics under User Interface > Action Bar, check out the 3rd bullet <a href="http://developer.android.com/guide/topics/ui/actionbar.html" rel="nofollow noreferrer">here</a>.</p> <p>There is an action bar library written by <a href="https://stackoverflow.com/users/132047/jake-wharton">Jake Wharton</a> called ActionBarSherlock. Perhaps this is able to supply you with an action overflow menu style even when on older devices (which include a hard menu button), however I have not looked into this.</p> <p><strong>Edit:</strong> ActionBarSherlock 4.0 (currently a release candidate) has functionality built in to force action overflow. If you want to extend the ActionBarCompat example yourself, you could take a look on github to get an idea how Jake implemented it. I would suggest just looking into using his library all together, as it is very well done.</p> <p>If you choose to use Jake's library, look into setting up the Activity theme as @style/Theme.Sherlock.ForceOverflow to force the overflow menu on older devices.</p> <p><strong>Edit2:</strong> Using <code>ForceOverflow</code> theme causes issues (<a href="https://github.com/JakeWharton/ActionBarSherlock/issues/568" rel="nofollow noreferrer">example #1</a>) on devices with hardware menu button. Thus, Jake Wharton is going to remove <code>ForceOverflow</code> in the future versions.</p>
 

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