Re: [android-developers] Re: ScrollView and programmatically scrolling

2012-04-05 Thread Kostya Vasilyev
TextView most certainly does not have a ScrollView "bundled in it". It does have its own scroll functionality, but that's different. As for the original problem, if you're trying to call scrolling methods immediately after calling setText on the text view, it may not work because the view hasn't

[android-developers] Re: ScrollView and programmatically scrolling

2012-04-04 Thread Put_tiMe
It's actually quite crazy. I had similar problems with scroll view. But from what you are saying, you are interested in scrolling the text-view. I would presume that the text-view has scroll-view bundled in it. If things are not working out, then try this (at least this is what I did): Derive

[android-developers] Re: ScrollView and programmatically scrolling

2012-04-04 Thread Steve Cavanagh
Doesn't setting gravity to "bottom" do this? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr.

[android-developers] Re: ScrollView and programmatically scrolling

2010-06-17 Thread Lance Nanek
There are past threads on this you can dig up. Basically you have to give the ScrollView a chance to realize it has had stuff added to it. For example: scroll.post(new Runnable() { public void run() { scroll.fullScroll(ScrollView.FOCUS_DOWN); }

[android-developers] Re: ScrollView and programmatically scrolling

2010-06-17 Thread Neilz
Anyone? This must have been encountered before? :-) On Jun 16, 1:32 pm, Neilz wrote: > Hi all. > > When I update the textview within my scrollview, I want the scrollview > to automatically scroll down to the bottom, so that the latest text is > displayed. > > I've tried this code: > > scroll.ful

[android-developers] Re: ScrollView and Programmatically Scrolling

2009-05-10 Thread Teo
Same problem here... On May 6, 6:14 am, Kaka wrote: > any solution now? > > I have to implement the same function too. > > On Apr 20, 2:32 am, Arnaud Weber wrote: > > > Ok, i've found some kind of weird solution... > > > It seems that fullScroll is inversed. As i wanted to go to the top of my >

[android-developers] Re: ScrollView and Programmatically Scrolling

2009-05-05 Thread Kaka
any solution now? I have to implement the same function too. On Apr 20, 2:32 am, Arnaud Weber wrote: > Ok, i've found some kind of weird solution... > > It seems that fullScroll is inversed. As i wanted to go to the top of my > view i need to call > scrollView.fullScroll( > > > > > ScrollView.F

[android-developers] Re: ScrollView and Programmatically Scrolling

2009-04-19 Thread Arnaud Weber
Ok, i've found some kind of weird solution... It seems that fullScroll is inversed. As i wanted to go to the top of my view i need to call scrollView.fullScroll( > > ScrollView.FOCUS_DOWN); and to go to the bottom : scrollView.fullScroll( > > ScrollView.FOCUS_UP); ... weird... but that's work

[android-developers] Re: ScrollView and Programmatically Scrolling

2009-04-19 Thread Arnaudweb
Hello, I've the same problem. my scrollView contains a LinearLayout that is almost empty at the beginning. Then i fill it with other views and try immediately after to use scrollView.fullScroll(ScrollView.FOCUS_UP); This is not working... I'm guessing my fullScroll setting is executed before t