I am working on an app on android which simulates parallax scrolling with a top scrollview, the content and the bottom scroll view.
I would like to scroll using only the middle scrollview, but I am able to independently scroll the top view manually. This I would like to prevent.
I tried this from another related question, but this seems to disable scrolling in this case.. What I would like is for the touch to fall through to the 2nd layer and for that to handle the scrolling.
.setOnTouchListener(new View.OnTouchListener() { @Override public boolean onTouch(View view, MotionEvent motionEvent) { return true; } });
Is this a call for onInterceptTouchEvent? I am still trying to understand that. Let me know if this is not enough information or if it isnt clear.
tl;dr - I want my scroll view to be completely passive touch wise, act as if it doesn't exist, and pass the touch to lower layers.