This one https://stackoverflow.com/a/14123377/2069363 works for me!
You can create such behavior using Spinner (or IcsSpinner for ActionBarSherlock) in action layout of a menu item. Though you have to use a little trick - hide the currently selected item.