Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3433974
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T07:38:29+00:00 2026-05-18T07:38:29+00:00

I am using scroller class for auto scroll of the text in edittext but

  • 0

I am using scroller class for auto scroll of the text in edittext but after stopping the animation scrolling goes back to top of the text and i want it to stop at current position. How can i perform this task?
I am using this code for scrolling:

public void Scroll()
       {
        scroll = new Scroller(PromptModeActivity.this,new LinearInterpolator());
        length = prompt_text.getLineCount();
        scroll.computeScrollOffset();
        prompt_text.setScroller(scroll);
        int a=prompt_text.getBottom();
        scroll.extendDuration(scroll.getFinalY());
            scroll.startScroll(scroll_x,scroll_y,0,a+500,
                (400000)/ speedAmount); 

       }

and using scroll.abortAnimation() to stop scrolling.
Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T07:38:30+00:00Added an answer on May 18, 2026 at 7:38 am

    An animation is not what you want here. Instead, I believe you’re looking for ScrollView.pageScroll().

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Scrolling to anchors (using jquery) is common - however after the scroll, the user
I'm using the following class along with Mootools to create custom scrolling areas on
Hi i am using simply scroll plugin from this site http://logicbox.net/jquery/simplyscroll/ but i am
I have put together an image scroller using jquery, like this function rotateImages(whichHolder, start)
Im using a jquery scroller for my photography website which i cannot get it
I'm using the smooth div scroller as seen in this site: http://www.smoothdivscroll.com/ . For
I am currently using javascript to implement a javascript scroller on my webpage. However,
I'm using the $(window).scroll(function() to set classes on the navigation of a site. When
I was able to instantiate a working scroller using jQuery Jcarousel however I need
Can anyone please recommend the best way to trigger a horizontal Jquery scroller using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.