1

Is it possible to add new item to the list which appear when user long press on an empty EditText view? Just like Copy / Paste / Select / Select All, I want to add "Translate". How can I implement this?

I tried using setCustomSelectionActionModeCallback but it did not work for EditText view.

  • Check out https://stackoverflow.com/questions/30518089/how-to-use-the-new-android-m-feature-of-text-selection-to-be-offered-from-outs I think it answers your question – Gabe Sechan Feb 17 '23 at 06:21

0 Answers0