I have a ScrollView containing a LinearView. The LinearView contains a lot of TwoLineListItems.
I want this list to be scrolled to the end when i start the activity. For this, I use scrollView.scrollBy(0, 1000000); after i have set up the screen and added all views. This has no effect whatsoever though .
The fun thing is, if I call scrollView.scrollBy(0, 1000000) later (when dynamically adding a new TwoLineListItem), it works.
Why doesn't this work form the beginning?