Hi,

I have an EditText with an extremely long string. I'd like to scroll
the text in marquee fashion, automatically for the user. The best I
have is this:

  private Runnable mAnimate = new Runnable() {
      public void run() {
          mMyEditText.scrollBy(3, 0);
          mHandler.post(mAnimate);
      }
  };

  Button btnStart = new Button();
  btnStart.setOnClickHandler(new OnClickHandler() {
       public void onClick(View view) {
          mHandler.post(mAnimate);
       }
  }

it works, but is pretty choppy. Any better way to animate the text
scrolling? Should I drop this and try writing my own implementation of
EditText for this purpose? The chopiness may come from the fact that
the EditText is trying to interpolate the scroll etc,

Thanks
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to