+ 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)

22nd Sep 2020, 12:49 AM
Ryan
5 Respuestas
+ 2
Your Question and the description are same. Give a little try to explain your problem in detail.
22nd Sep 2020, 1:57 PM
0_O-[Mägár_Sám_Äkà_Nüllpøïntêr_Èxëcéptïön]~~
0_O-[Mägár_Sám_Äkà_Nüllpøïntêr_Èxëcéptïön]~~ - avatar
+ 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());
23rd Sep 2020, 2:33 AM
0_O-[Mägár_Sám_Äkà_Nüllpøïntêr_Èxëcéptïön]~~
0_O-[Mägár_Sám_Äkà_Nüllpøïntêr_Èxëcéptïön]~~ - avatar
+ 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.
24th Sep 2020, 1:14 PM
0_O-[Mägár_Sám_Äkà_Nüllpøïntêr_Èxëcéptïön]~~
0_O-[Mägár_Sám_Äkà_Nüllpøïntêr_Èxëcéptïön]~~ - avatar
+ 1
Any APP can do it?
24th Sep 2020, 9:58 AM
Ryan