OK, it works without the ScrollView which is only vertically; just
scrolling by touch events.

The extended AbsoluteLayout class:
http://bazaar.launchpad.net/~rocrail-project/rocrail/androc/annotate/head%3A/src/net/rocrail/androc/widgets/LevelCanvas.java

The dynamically added views also support the scrolling:
http://bazaar.launchpad.net/~rocrail-project/rocrail/androc/annotate/head%3A/src/net/rocrail/androc/widgets/LevelItem.java

The layout xml is very small:
http://bazaar.launchpad.net/~rocrail-project/rocrail/androc/annotate/head%3A/res/layout/level.xml

BTW:
This is the only view in my app who needs the absolute layout.
I can imagine that also other apps will need sometimes an
AbsoluteLayout.
I hope that the deprecated flag will be removed from the API because
it is up to the developer and depending of the App if it is needed.

Best regards,
Rob.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to