Scrolling a dynamically filled AbsoluteLayout.

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


Sponsored Links
 Hi,

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

<ScrollView xmlns:android=" http://schemas.android.com/apk/res/ 
android"
  android:id="@+id/levelScrollView"
  android:background="@drawable/solid_white"
  android:layout_width="fill_parent"
android:layout_height="fill_parent" >
  <LinearLayout android:layout_width="1024px"
android:layout_height="1024px">
  <AbsoluteLayout android:layout_width="1024px" android:id="@+id/
levelView"
    android:background="@drawable/solid_white"
android:layout_height="1024px" android:minHeight="1024px"
android:minWidth="1024px">
  </AbsoluteLayout>
  </LinearLayout>
</ScrollView>

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
too.
See the screen shot of the 'Layout level' view in action:
 http://wiki.rocrail.net/doku.php?id=androc-intro-en #qvga_gallery

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

Best regards,
Rob Versluis.
 http://www.rocrail.net 

--



Other Threads

1. 9 Days to Launch

I completely agree!
so called 'network effects' are really "SOCIAL network effects"!
If you look at what is happening on youtube and the like, it is about
sharing -
but this is only a star configuration, with youtube at the center of
the star.

What about true peer-to-peer networks?
Is it what people really want?  If so, why are they not doing more if
it?

Actually they are:  look at SMS, look at chat.
But the only way to share multimedia is a star configuration - unless
the
data is small enough for the bandwidth - hence SMS and MSN.

Now imagine if the bandwidth is large, say 4Mbps or 16Mbps on a
handset or even gigabit speeds.
The limitation is price - otherwise we will all have it today.  Does
not make sense to add
over $2 for this.

Bluetooth is coming out with 3Mbps and has a lot of marketing behind
it.  But I doubt RF technology they have can go faster than that.
Next Gen Infrared has 4Mbps in many Japanese phones already and
including cameras, TVs, printers and HD recorders.
But few of us in the conservative USA has even heard of this. 16Mbps
is also available already.

Question is:  which US supplier is going to be first?

check this out:  
http://acton-acton.blogspot.com/2008/09/printing-from-your-phone.html
Imagine if we can beam our fav videos as peer-to-peer

- acton








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

2. conn.connect() throw exception

I use the image sample :

        try {
            URL aURL = new URL(" 
http://www.anddev.org/images/tiny_tutheaders/weather_forecast.png");
            URLConnection conn = aURL.openConnection();
            conn.connect();
              }

and "conn.connect(); " throw an exception.

Can anyone give me an idea how to fix it?

Thanks!


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

3. Google Calendar?

4. problem adding the android plugin to he eclipse 3.4 , plz help

5. Software Articles Collection

6. Question about licensing by using apps-for-android?

7. Placing a call to the emulator