• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

How do I hide "this" from TextEdit?

How can I hide "this" from EditText?
Bild.png


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:
Bild2.png


Any idea how i can get rid of them? :)
 
Back
Top Bottom