I'm trying to extend the text selection contexual action bar with further actions.
So I added an ActionCallback via setCustomSelectionActionModeCallback method. It works fine, BUT: I'm addind several icons, so they don't fit in the actionbar on phones and they go to the overflow menu. The problem is: as soon as I click on the overflow button, it seems that the EditText looses the focus and so the ActionMode is closed and destroyed. So you are not able to click any of the items in the overflow menu.
I'm using ActionBarSherlock 4.3.1.
Is this a bug? Should I file it on b.android.com? Is there a workaround? One possible workaround may be the split action bar. But currently I don't need / want the split bar for the whole activity and switching programmatically is not possible as far as I know.