aspose file tools*
The moose likes Android and the fly likes Scrolling a TextView Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "Scrolling a TextView" Watch "Scrolling a TextView" New topic
Author

Scrolling a TextView

Prajkti Khadse
Ranch Hand

Joined: Apr 02, 2009
Posts: 52
Hi all

i have TextView and EditText on the Same acivity.
out of those, i want to make the TextView scrollable.

i've tried [syntax="xml"] android:scrollbars="vertical" [/syntax]
and it displays the scrollbar but m not able to scroll it.... :?

can anyone please help me out....
Prajkti Khadse
Ranch Hand

Joined: Apr 02, 2009
Posts: 52
Hey i got the solution....

i've wrappped my TextView with ScrollView and it worked.....

chetan dhumane
Ranch Hand

Joined: Jan 07, 2009
Posts: 629

Just take overview of default API examples provided by Android SDK.
I think they have given the example , how to do it


http://www.androcid.com/
Pratik Goswami
Ranch Hand

Joined: Mar 02, 2009
Posts: 136

Hi Prajakta,

Get fun with SDK 1.5, HorizontalScrollView widget is also coming.

Thanks & Regards
Pratik Goswami


iOS * Android Developer
Melissa Dawson
Greenhorn

Joined: Nov 07, 2011
Posts: 1
The code snippet should help as well: http://blog.teamgrowth.net/index.php/android/how-to-make-the-textview-in-android-scrollable

Cheers!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Scrolling a TextView