0

how can I disable the scrolling of a Scrollview, by the user? I want to scroll it by code

1
  • 1
    Have you done any research? Commented Aug 3, 2012 at 18:02

1 Answer 1

3

To answer this question:

I've done some research, and the following works the best:

scroll.setOnTouchListener(new OnTouchListener() { public boolean onTouch(View v, MotionEvent event) { return true; } }); 

As parsed from my working code.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.