Normally it\'s enough to set focusable
, focusableInTouch
+ clickable
to false. But here it does not work.
I want the parent
Late, but maybe somebody else needs this info. After setting focusable, focusableInTouch + clickable to false, add this in your java code:
editText.setMovementMethod(null);
editText.setKeyListener(null);
Don't forget to save those values to restore them later:
mMovementMethod = mEditText.getMovementMethod();
mKeyListener = mEditText.getKeyListener();
You should use ViewGroup.onInterceptTouchEvent(MotionEvent)
This method is to intercept all touch screen motion events