2

I've a scrollview in my activity . When I scroll down , it doesn't scroll much and I want to increase the the amount of scroll .

How can I do so?

1
  • As in, the number of items to scroll over or the speed at which you scroll? Commented Nov 3, 2015 at 14:51

1 Answer 1

1

Flinging is the type of scrolling that occurs when a user drags and lifts her finger quickly.

@Override public void fling(int velocityY) { int topVelocityY = (int) ((Math.min(Math.abs(velocityY), MAX_SCROLL_SPEED) ) * Math.signum(velocityY)); super.fling(topVelocityY); } 

I copied it from here.

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.