JakeWharton/ActionBarSherlock — Issue #303: ShareActionProvider causes split action bar to take up the whole screen
Author: nelenkov
Created: 2012-02-25 15:19:57+00:00
State: open

I am trying to use a ShareActionProvider with a split action bar. I have a simple wrapper that uses the ABS ActionProvider base class instead of the SDK one:

http://code.google.com/p/wwwjdic/source/browse/branches/2.0/wwwjdic/src/org/nick/wwwjdic/actionprovider/ShareActionProvider.java

The menu looks like this:

http://code.google.com/p/wwwjdic/source/browse/branches/2.0/wwwjdic/res/menu-v11/example_breakdown.xml

When I open the activity, the bottom (split) AB takes up the whole height. I tried removing the the theme declaration from the manifest, but that doesn't change anything.

(BTW, I tried to port ShareActionProvider to 2.x, but even though it sort of works, it just looks out of place on 2.x. Additionally there's too much stuff that needs to be pulled in.)