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. libdvm.so linking error ?

Hi,all:

I used the android-toolchain downloading form
http://android.git.kernel.org/pub/android-toolchain-20081019.tar.bz2
,and makes cross compiling for arm920t platform.

I got the following error message. Does anybody know what's the
problem is ?

Message:

build/core/binary.mk:218: target `out/target/product/generic/obj/
SHARED_LIBRARIES/libdvm_intermediates/arch/arm/CallOldABI.o' given
more than once in the same rule.
build/core/binary.mk:218: target `out/target/product/generic/obj/
SHARED_LIBRARIES/libdvm_intermediates/arch/arm/CallEABI.o' given more
than once in the same rule.
target SharedLib: libdvm (out/target/product/generic/obj/
SHARED_LIBRARIES/libdvm_intermediates/LINKED/libdvm.so)
out/target/product/generic/obj/SHARED_LIBRARIES/libdvm_intermediates/
arch/arm/CallEABI.o: In function `dvmPlatformInvoke':
dalvik/vm/arch/arm/CallEABI.S:137:vmPlatformInvokeout/target/product/generic/obj/SHARED_LIBRARIES/libdvm_intermediates/
arch/arm/CallEABI.o:dalvik/vm/arch/arm/CallEABI.S:137
out/target/product/generic/obj/SHARED_LIBRARIES/libdvm_intermediates/
Misc.o: In function `dvmAllocBit':
dalvik/vm/Misc.c:244: fsout/target/product/generic/obj/SHARED_LIBRARIES/libdvm_intermediates/
alloc/HeapBitmap.o: In function `dvmHeapBitmapXorWalk':
dalvik/vm/alloc/HeapBitmap.c:293: vmClzImpldalvik/vm/alloc/HeapBitmap.c:268: vmClzImplout/target/product/generic/obj/SHARED_LIBRARIES/libdvm_intermediates/
mterp/Mterp.o: In function `dvmMterpStd':
dalvik/vm/mterp/Mterp.c:99: vmMterpStdRunout/target/product/generic/obj/SHARED_LIBRARIES/libdvm_intermediates/
mterp/Mterp.o: In function `dvmCheckAsmConstants':
dalvik/vm/mterp/Mterp.c:61: vmAsmInstructionEnddalvik/vm/mterp/Mterp.c:61: vmAsmInstructionStartcollect2: ld returned 1 exit status
make: *** [out/target/product/generic/obj/SHARED_LIBRARIES/
libdvm_intermediates/LINKED/libdvm.so] Error 1

THX
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. Users can't alter expired card details on-phone

Anyone else had this problem ;
http://twitter.com/HandInteractive/statuses/1436225877

Al.

---

* Written an Android App? - List it at http://andappstore.com/ *

======
Funky Android Limited is registered in England & Wales with the 
company number  6741909. The registered head office is Kemp House, 
152-160 City Road, London,  EC1V 2NX, UK. 

The views expressed in this email are those of the author and not 
necessarily those of Funky Android Limited, it's associates, or it's 
subsidiaries. 



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

3. Problem when initing root file systems

4. How to handle Multi-finger Touchscreen when porting Android to new system?

5. How to handle Multi-finger Touchscreen when porting Android to new system?

6. Free & paid versions of an app, shared user ID & SQLite

7. Problem building CupCake