+ 1
How to change the order of the terms of the text pop-up menu?(android)
How to change the order of the terms of the text pop-up menu?(android)
5 Réponses
+ 2
Your Question and the description are same. Give a little try to explain your problem in detail.
+ 2
There's a method called setCustomSelectionActionModeCallback(ActionMode.Callback callback) for both textview and EditText which should be used for customizing the default copy/paste selection menu.
You can create items for selection menu in menu.xml folder. Create a class and implement the ActionMode.Callback. override all methods. Than inflate your menu inside onCreatActionMode method.
And call the method setCustomSelectionActionModeCallback() with your text view.
E.g,
yourTextView.setCustomSelectionActionModeCallback(new yourCustomClass());
+ 2
Modification works through your own app. Any textview or EditText (not webview) within your application in the case of text selected will display the custom copy/paste menu over default with custom actions.
+ 1
Any APP can do it?