did someone implement a ScrollView with horizontal scroll support?

by kolbysoft » Fri, 13 Mar 2009 01:57:57 GMT


Sponsored Links
 The code in setScrollXY is not called anywhere in the class, and was
old test code to get around the fact that some fields/methods are not
available in sub-classes in different packages.

It can be and should have been removed, but then again, who has time
for that?

Michael




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



did someone implement a ScrollView with horizontal scroll support?

by Derek » Fri, 13 Mar 2009 07:24:44 GMT


 can you tell me how to replace android.R.styleable in the below three
lines of code? android.R.styleable is removed in the latest sdk. I'm
really just a beginner. Sorry for asking such stupid question.

TypedArray a = context.obtainStyledAttributes
(android.R.styleable.View);
TypedArray a = context.obtainStyledAttributes(attrs,
android.R.styleable.ScrollView, defStyle, 0);
setFillViewport(a.getBoolean
(android.R.styleable.ScrollView_fillViewport, false));

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


Sponsored Links


Other Threads

1. Problem with Reflection & Annotations!

Hi!

I am using Android 1.5 to develope an application with reflection and
annotations.

I have the instructuin method.isAnnotationPresent(importance.class)
and the application have problems because I have tryed to print in the
standart output the result of this instruction and the application
seems that crash. The exit is the next:

07-17 17:43:26.023: INFO/System.out(751): java.lang.reflect.Method
07-17 17:43:26.165: INFO/DEBUG(539): *** *** *** *** *** *** *** ***
*** *** *** *** *** *** *** ***
07-17 17:43:26.165: INFO/DEBUG(539): Build fingerprint: 'generic/
google_sdk/generic/:1.5/CUPCAKE/150240:eng/test-keys'
07-17 17:43:26.165: INFO/DEBUG(539): pid: 751, tid: 751  >>>
es.ugr.decsai.fuzzyobject <<<
07-17 17:43:26.165: INFO/DEBUG(539): signal 11 (SIGSEGV), fault addr
00000048
07-17 17:43:26.165: INFO/DEBUG(539):  r0 00000000  r1 00000083  r2
ffffffff  r3 00000000
07-17 17:43:26.165: INFO/DEBUG(539):  r4 400084a8  r5 435a9fd8  r6
40052fa8  r7 000a1f98
07-17 17:43:26.165: INFO/DEBUG(539):  r8 00003070  r9 0000bc60  10
41049b84  fp 00000000
07-17 17:43:26.165: INFO/DEBUG(539):  ip 00000001  sp bedb9450  lr
ad05c7f3  pc ad05e0da  cpsr 60000030
07-17 17:43:26.223: INFO/DEBUG(539):          #00  pc 0005e0da  /
system/lib/libdvm.so
07-17 17:43:26.223: INFO/DEBUG(539):          #01  pc 0005e86e  /
system/lib/libdvm.so
07-17 17:43:26.223: INFO/DEBUG(539):          #02  pc 0005e23a  /
system/lib/libdvm.so
07-17 17:43:26.232: INFO/DEBUG(539):          #03  pc 0005ee12  /
system/lib/libdvm.so
07-17 17:43:26.232: INFO/DEBUG(539):          #04  pc 0005f018  /
system/lib/libdvm.so
07-17 17:43:26.232: INFO/DEBUG(539):          #05  pc 0005963c  /
system/lib/libdvm.so
07-17 17:43:26.232: INFO/DEBUG(539):          #06  pc 00042dba  /
system/lib/libdvm.so
07-17 17:43:26.232: INFO/DEBUG(539):          #07  pc 00013118  /
system/lib/libdvm.so
07-17 17:43:26.232: INFO/DEBUG(539):          #08  pc 00017b1c  /
system/lib/libdvm.so
07-17 17:43:26.232: INFO/DEBUG(539):          #09  pc 00017560  /
system/lib/libdvm.so
07-17 17:43:26.243: INFO/DEBUG(539):          #10  pc 00052268  /
system/lib/libdvm.so
07-17 17:43:26.243: INFO/DEBUG(539):          #11  pc 000596ee  /
system/lib/libdvm.so
07-17 17:43:26.243: INFO/DEBUG(539):          #12  pc 00013118  /
system/lib/libdvm.so
07-17 17:43:26.243: INFO/DEBUG(539):          #13  pc 00017b1c  /
system/lib/libdvm.so
07-17 17:43:26.253: INFO/DEBUG(539):          #14  pc 00017560  /
system/lib/libdvm.so
07-17 17:43:26.253: INFO/DEBUG(539):          #15  pc 000520ec  /
system/lib/libdvm.so
07-17 17:43:26.253: INFO/DEBUG(539):          #16  pc 0003f0f8  /
system/lib/libdvm.so
07-17 17:43:26.253: INFO/DEBUG(539):          #17  pc 00031ac2  /
system/lib/libdvm.so
07-17 17:43:26.253: INFO/DEBUG(539):          #18  pc 00028280  /
system/lib/libandroid_runtime.so
07-17 17:43:26.253: INFO/DEBUG(539):          #19  pc 00028d7e  /
system/lib/libandroid_runtime.so
07-17 17:43:26.263: INFO/DEBUG(539):          #20  pc 00008bf2  /
system/bin/app_process
07-17 17:43:26.263: INFO/DEBUG(539):          #21  pc 0001fd22  /
system/lib/libc.so
07-17 17:43:26.263: INFO/DEBUG(539):          #22  pc 0000bcb2  /
system/lib/libc.so
07-17 17:43:26.263: INFO/DEBUG(539):          #23  pc b000157e  /
system/bin/linker
07-17 17:43:26.263: INFO/DEBUG(539): stack:
07-17 17:43:26.263: INFO/DEBUG(539):     bedb9410  ad083e10
07-17 17:43:26.263: INFO/DEBUG(539):     bedb9414  00000000
07-17 17:43:26.263: INFO/DEBUG(539):     bedb9418  00003070
07-17 17:43:26.263: INFO/DEBUG(539):     bedb941c  00000000
07-17 17:43:26.273: INFO/DEBUG(539):     bedb9420  00000000
07-17 17:43:26.273: INFO/DEBUG(539):     bedb9424  400084a8
07-17 17:43:26.273: INFO/DEBUG(539):     bedb9428  435a9fd8
07-17 17:43:26.273: INFO/DEBUG(539):     bedb942c  40052fa8
07-17 17:43:26.273: INFO/DEBUG(539):     bedb9430  000a1f98  [heap]
07-17 17:43:26.273: INFO/DEBUG(539):     bedb9434  ad05c835  /system/
lib/libdvm.so
07-17 17:43:26.273: INFO/DEBUG(539):     bedb9438  435980c0
07-17 17:43:26.273: INFO/DEBUG(539):     bedb943c  ad05ccfb  /system/
lib/libdvm.so
07-17 17:43:26.273: INFO/DEBUG(539):     bedb9440  4124fac0
07-17 17:43:26.273: INFO/DEBUG(539):     bedb9444  ad05d243  /system/
lib/libdvm.so
07-17 17:43:26.273: INFO/DEBUG(539):     bedb9448  df002777
07-17 17:43:26.273: INFO/DEBUG(539):     bedb944c  e3a070ad
07-17 17:43:26.273: INFO/DEBUG(539): #00 bedb9450  4124fad4
07-17 17:43:26.273: INFO/DEBUG(539):     bedb9454  ad05cceb  /system/
lib/libdvm.so
07-17 17:43:26.273: INFO/DEBUG(539):     bedb9458  00000189
07-17 17:43:26.273: INFO/DEBUG(539):     bedb945c  ad083e10
07-17 17:43:26.273: INFO/DEBUG(539):     bedb9460  0000bc60  [heap]
07-17 17:43:26.273: INFO/DEBUG(539):     bedb9464  00000000
07-17 17:43:26.273: INFO/DEBUG(539):     bedb9468  06000000
07-17 17:43:26.273: INFO/DEBUG(539):     bedb946c  40052fa8
07-17 17:43:26.273: INFO/DEBUG(539):     bedb9470  435aa088
07-17 17:43:26.273: INFO/DEBUG(539):     bedb9474  ad083e10
07-17 17:43:26.273: INFO/DEBUG(539):     bedb9478  435aa048
07-17 17:43:26.273: INFO/DEBUG(539):     bedb947c  ad05e873  /system/
lib/libdvm.so
07-17 17:43:26.273: INFO/DEBUG(539): #01 bedb9480  00000328
07-17 17:43:26.273: INFO/DEBUG(539):     bedb9484  00000001
07-17 17:43:26.273: INFO/DEBUG(539):     bedb9488  00000004
07-17 17:43:26.273: INFO/DEBUG(539):     bedb948c  ad083e10
07-17 17:43:26.273: INFO/DEBUG(539):     bedb9490  00000014
07-17 17:43:26.273: INFO/DEBUG(539):     bedb9494  435a9f00
07-17 17:43:26.273: INFO/DEBUG(539):     bedb9498  0000bc60  [heap]
07-17 17:43:26.273: INFO/DEBUG(539):     bedb949c  001874d8  [heap]
07-17 17:43:26.273: INFO/DEBUG(539):     bedb94a0  435a9fd8
07-17 17:43:26.273: INFO/DEBUG(539):     bedb94a4  435aa028
07-17 17:43:26.273: INFO/DEBUG(539):     bedb94a8  435a9fd8
07-17 17:43:26.273: INFO/DEBUG(539):     bedb94ac  40009a50
07-17 17:43:26.273: INFO/DEBUG(539):     bedb94b0  ad084a1c
07-17 17:43:26.273: INFO/DEBUG(539):     bedb94b4  40009a50
07-17 17:43:26.273: INFO/DEBUG(539):     bedb94b8  00000000
07-17 17:43:26.273: INFO/DEBUG(539):     bedb94bc  00000012
07-17 17:43:26.273: INFO/DEBUG(539):     bedb94c0  00000001
07-17 17:43:26.273: INFO/DEBUG(539):     bedb94c4  00000000
07-17 17:43:26.273: INFO/DEBUG(539):     bedb94c8  435a9f00
07-17 17:43:26.273: INFO/DEBUG(539):     bedb94cc  435a9fd0
07-17 17:43:26.273: INFO/DEBUG(539):     bedb94d0  00000001
07-17 17:43:26.273: INFO/DEBUG(539):     bedb94d4  ad05e23f  /system/
lib/libdvm.so
07-17 17:43:26.723: INFO/ActivityManager(573): Process
es.ugr.decsai.fuzzyobject (pid 751) has died.



Thanks for all
--~--~---------~--~----~------------~-------~--~----~

2. 2way engine sample ap

1.I find a sample app src in "2way engine",how can i test it or use
it?
2.Is there any other sample code of 2way?
3.If i want to use 2way in Android, must I write my own JNI and lib
with 2way built-in it?
Thanks.
--~--~---------~--~----~------------~-------~--~----~

3. Checkout iFarted its free!!!

4. how should I make an ImageView in a Spinner scale correctly?

5. Looking for G1 CRC1 release notes

6. how to run Android live cd on sun virtualbox in windows xp?

7. Dalvik vm /system/lib/libmedia_jni errors