Android: Prevent cut-copy-paste popup to be displayed

folder_openSnippets, Solutions
turned_in_notandroid, copy, copy paste popup, EditText, paste, soft keyboard
comment1 Comment
If you ever need to disable the popup for cut-copy-paste when you long tap a text from an edit text you can do this by using the code below: yourEditText.setCustomSelectionActionModeCallback(new Callback() { public boolean onPrepareActionMode(ActionMode mode, Menu menu) { return…
Read More
Exit mobile version