我需要禁用复制,粘贴,selectAll等等。我写了selectAll,但是当光标停在某个地方时,点击这里与水滴,selectAll选项出现。
因此,我添加editText.setCustomInsertionActionModeCallback(actionModeCallback);并重复前面的操作,selectAll选项不出现。为什么?
发布于 2022-09-13 10:29:09
使用
android:longClickable="false"或
etUsername.setLongClickable(false);https://stackoverflow.com/questions/73701385
复制相似问题