Scrolling TextView that automatically scrolls to bottom

by Roman Romano » Mon, 26 Jan 2009 07:17:20 GMT


Sponsored Links
 Hi All,

I have a textview that is wrapped in a scrollview and works nicely.
The only problem is that when text is appended to the textview so as
to induce scrollability, it doesn't automatically scroll to the bottom
of the textview, ihave to manually scroll down.
Is there any way to achieve this 'keep-last-appended-text-in-view'?

many thanks all

Roman

--~--~---------~--~----~------------~-------~--~----~



Scrolling TextView that automatically scrolls to bottom

by Roman Romano » Mon, 26 Jan 2009 22:01:58 GMT


 Fixed it i think.
in the method that appends the text, i needed to set fullScroll
(FOCUS_DOWN) on the ScrollView.
Hope that makes sense to anyone experiencing similar issues
Roman


On Jan 25, 11:17pm, Roman Romano <very.cross...@googlemail.com>


--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Scrolling TextView that automatically scrolls to bottom

by mrspiteri » Thu, 29 Jan 2009 01:10:13 GMT


 thanks I was looking for the same thing. it works though it doesn't
seem to scroll to the very bottom...leaves about 1 line so the bottom
(newest line) is slightly faded.





--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. OOT: Paging pak Dolly

Mau nanya2 tentang XL nich...

-- 
Sent from my mobile device

-- 
===============
"Indonesian Android Community [id-android]"

PING'S mobile
Email: sa...@pings-mobile.com  Ph. (021) 96087100
---------------------
Yopie Ratjoen
Email: yo...@ratjoen.com  Ph. 08977726681
--------------------
Gila original
Email: i...@gilaoriginal.com  Ph. (031) 91555898
--------------------

Aturan Jual/Kloteran ID-Android  http://goo.gl/azW7

2. mau tanya ttg Cyanogen Mod

sesuai judul, saya ingin bertanya ttg Cyanogen Mod. itu apa ya????
saya blm mengerti betul ttg Cyanogen Mod di android. thx

-- 
===============
"Indonesian Android Community [id-android]"

PING'S mobile
Email: sa...@pings-mobile.com  Ph. (021) 96087100
---------------------
Yopie Ratjoen
Email: yo...@ratjoen.com  Ph. 08977726681
--------------------
Gila original
Email: i...@gilaoriginal.com  Ph. (031) 91555898
--------------------

3. getting control value from within a dialog

4. Using ListView in AlertDialog

5. When is the appropriate time to use separate processes?

6. Please help to test my app on "HTC wildfire".

7. sendBroadcast in IntentServicenot non-re-entrant?