Vertical scrolling inside text view

by and.hl » Wed, 21 May 2008 05:57:50 GMT


Sponsored Links
 Can anyone tell how to scroll text vertically inside a text view.

Having textview inside a scroll view does not help as i have a button
below text view.
So the text overlaps the button below instead of scrolling
--~--~---------~--~----~------------~-------~--~----~



Vertical scrolling inside text view

by dolan kundu » Wed, 21 May 2008 07:36:41 GMT


 Hi and.hi,

To bring a scroll, just call scrollview in xml. it will work.

Thanks,
 Dolan.





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


Sponsored Links


Vertical scrolling inside text view

by and.hl » Wed, 21 May 2008 09:06:53 GMT


 Hello,

I have given textview within scrollview like below

<ScrollView android:id="@+id/textAreaScroller"
    android:layout_width="fill_parent"
    android:layout_height="40px">

<TextView       android:id="@+id/coa"
                         android:layout_width="fill_parent"
                         android:layout_height="40px"
                         android:text="@string/COA"
                         android:fadingEdge="none">
</TextView>
</ScrollView>

I want to set the text and then scroll it within this textview for
which giving only scrollview is not enough because i cant set the text
in scrollview. This is my problem
--~--~---------~--~----~------------~-------~--~----~



Vertical scrolling inside text view

by dolan kundu » Wed, 21 May 2008 10:32:05 GMT


 Hi,
<ScrollView xmlns:android=" http://schemas.android.com/apk/res/android" ;
                android:layout_width="fill_parent"
                android:layout_height="fill_parent">

<LinearLayout xmlns:android=" http://schemas.android.com/apk/res/android" ;
              android:orientation="vertical"
              android:layout_width="fill_parent"
              android:layout_height="fill_parent"
              >
.
.
.
.
.
.
.


</LinearLayout>
</ScrollView>

in the xml ,inside the space you can specify whatever you want.

Thanks,
Dolan.





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



Other Threads

1. Choosing resolution over density for drawables

I'm looking for a way to tell Android to use a specific drawable
folder for specific device resolutions.  I have graphics designed for
320x480 displays and 480x800 displays.  Android wants to automatically
pick the best graphics based on density.  Is there a way to work
around that?  If the device supports 480x800 resolution, I'd like to
use that, irregardless of density.

Thanks,
Stephen


-- 

2. why is there no android tablet nearly as good as ipad?

In my opinion, the market simple isn't there for it ... unless you have a
massive flock just waiting to buy your next big thing ;)

Seriousally tho - I don't see the attraction of these tablets (except as an
ebook reader...).

Kiall



> 

3. Problem with JNI - using Multiple Native Methods in a library

4. tanya wipe ext yang sudah app2sd

5. Popup Window like 'Quick Contact'

6. Android Huawei Aviator

7. HDPI images looking like crap