I am quite new to Android developing area and recently I hv encountered a tough problem.
I was trying to make a Edittext which should NOT ALLOW user to copy content
There is one possibility, by disabling the cursor handler. You won't get the paste button, but you will also not be able to move the cursor with touch.
@Override
public boolean onTouchEvent(MotionEvent event) {
if (event.getActionMasked() == MotionEvent.ACTION_UP && mDisableCursorHandle) {
// Hack to prevent keyboard and insertion handle from showing.
cancelLongPress();
}
return super.onTouchEvent(event);
}