hi,

i have ScrollView - sv and inside sv TextView - tv

when i tv.setText() and later sv.scrollTo(0, y) it doesn't work,
but ... when i call sv.scrollTo as a post delayed Runnable it works!
e.g

sv.postDelayed(delayedScroll, 100)

here delayedScroll is a Runnable that runs sv.scrollTo

it's ofcourse bad workaround but it seems to work after any events
created by setText are dispatched.

is it a bug or am i missing something?

skink

--~--~---------~--~----~------------~-------~--~----~
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