How to make a text scroll automatically

by learner » Fri, 16 May 2008 05:35:05 GMT

Sponsored Links
 Hi All,

How can i make a text to scroll automatically inside a text view when
an event accurs.

Please help me otu

Thanks in advance
Desire to learn

How to make a text scroll automatically

by Mark Murphy » Fri, 16 May 2008 12:23:39 GMT


View#scrollBy() will let you tell the TextView to scroll a certain distance.

Mark Murphy (a Commons Guy) 
The Busy Coder's Guide to Android Development -- coming in June 2008!


Sponsored Links

Other Threads

1. can someone help with hello world?

well, i am a noob at java.. so i decided to start at the android dev
guide and go through their tutorials. naturally i started with this
one: i
followed the instructions, ran the program when the guide said to, and
it all seemed to work without any errors... except that the program
didn't display the text i had written in the setText() part. it infact
displayed the words "Hello world, HelloAndroid!". the only thing that
bugs me about that is my setText looks like "tv.setText("Hello,
Android");". the word world doesn't even come up anywhere in the
project!! so what's going on here? did i miss something?


2. Parent style elements

I am trying to find a list of style parent and child elements for applying
styles to elements in your GUI.  I'm not having any luck doing internet
search or searching the Android Developers site.  Are they the same as CSS,
or is there a reference page for them?  Thanks.
P Please don't print this e-mail unless you really need to. 
 < http://www.***.com/ {*filter*}ah> 


3. Computing height for ListView based upon items height

4. Stopping background music playback

5. How can I use methods from an activity in other activities

6. Running linux commands from java code

7. How to read Sensors from home screen Widget (1.5 cupcake)?