1

I am new to android programming. In my application, i want to implement automatic scrolling. So, i used scroller for this purpose.It is performing scrolling but not maintaining constant speed till the end of scrolling the text. Can anyone help me out of this problem. Here, is the code used for scrolling:

prompt_text.setScroller(scroll); scroll.startScroll(scroll_x,scroll_y,0,50 * speedAmount, 100000/speedAmount); 
1

2 Answers 2

2

You can use scroller with interpolation in it as parameter

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

Comments

0

Asking an already answered question by the same person will not lead to anything further the same answer how to maintain the speed of scroller?

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.