Custom cut/copy action bar for EditText that shows text selection handles
I figured out the answer to my own question; TextView (and therefore EditText) has a method setCustomSelectionActionModeCallback() which should be used instead of startActionMode(). Using this enables customisation of the menu used by TextView for text selection. Sample code: bodyView.setCustomSelectionActionModeCallback(new StyleCallback()); where StyleCallback customises the text selection menu by removing Select All and adding some … Read more