Thanks for the response.
The answer turned out to be less intuitive than I thought.
Instead of:
ScrollView main = (ScrollView) findViewById(R.id.main);
main.scrollTo(0,0);
I used:
final ScrollView main = (ScrollView) findViewById(R.id.main);
main.post(new Runnable() {
public void run() {
main.scrollTo(0,0);
}
});
and achieved the desired results.
(source:
http://groups.google.com/group/android-developers/browse_thread/thread/1a36f62df821d771
)
jsdf
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---