Scrolling a dynamically filled AbsoluteLayout.

by rocrail » Fri, 23 Apr 2010 08:03:42 GMT

Sponsored Links

I'm searching for a few days now but I cannot find a scrolling
solution for the following layout:

<ScrollView xmlns:android=" 
android:layout_height="fill_parent" >
  <LinearLayout android:layout_width="1024px"
  <AbsoluteLayout android:layout_width="1024px" android:id="@+id/
android:layout_height="1024px" android:minHeight="1024px"

The 1024px are set to test but should be dynamically set to the needed
width and height during runtime.
Vertically scrolling works, but I do not get it horizontally scrolling
See the screen shot of the 'Layout level' view in action: #qvga_gallery

Any advice? Or do I have a design problem in this layout?

Best regards,
Rob Versluis. 


Other Threads

1. DDMS memory usage

When I view a nexus one in DDMS, under SysInfo "Memory Usage", it
doesn't show the individual names of the apps in the pie chart:
Everything is in "Unknown". I presume this is a build switch. Is it
debug vs release build? How is this switched in the build?


2. Android Market Licensing: Now Circumvented!

Looks like the word is spreading on how to circumvent the Google
Licensing Verification Library:

The concern here is that this could be done easily via script/
automated tool such that implementing the licensing code would be more
work for the developer than for some cracker patching your app to
remove it. What does everyone think of this?


3. Add CheckBox on buttonclick - Dynamic Mode

4. Memory usage profiling an openGL application?

5. does Google forbid orientation animation on purpose?

6. TrackballGestureDetector

7. how to write data to the existing xml file using code in android