I have a TextView which I will add various lines of text to. I have placed the TextView within a ScrollView to allow USER scrolling of the TextView however I want the TextView when it is full of text to automatically scroll up when another line is added.
I cannot find any solutions to this. Ther must be a way of automatically scrolling a TextView vertically. Can anyone help me?
I'm not sure how to do it in a TextView but you can use a ListView with android:transcriptMode="alwaysScroll" and android:stackFromBottom="true" to get that desired behaviour. See this Google IO talk at around 32 min.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With