DanielAnderson94
Lurker
How can I hide "this" from EditText?
I tried to use this code:
That code removed the "copy/paste" window when clicking on the EditText but still left me with this:
Any idea how i can get rid of them?
I tried to use this code:
Java:
textField.setCustomSelectionActionModeCallback(new ActionMode.Callback() {
public boolean onCreateActionMode(ActionMode actionMode, Menu menu) {
return false;
}
public boolean onPrepareActionMode(ActionMode actionMode, Menu menu) {
return false;
}
public boolean onActionItemClicked(ActionMode actionMode, MenuItem item) {
return false;
}
public void onDestroyActionMode(ActionMode actionMode) {
}
});
textField.setLongClickable(false);
textField.setTextIsSelectable(false);
That code removed the "copy/paste" window when clicking on the EditText but still left me with this:
Any idea how i can get rid of them?