Ah, I see, so the only possibility is to rewrite the ScrollView class? I was hoping there would be a quick solution, because the AbsoluteLayout still seems to render the data that is past the ScrollView area, because if I manually scroll using the scrollTo and overriding the keyListener I can still see all of the content just fine.
Thanks, Pachu On Jan 15, 2:59 pm, Romain Guy <romain...@google.com> wrote: > No because the ScrollView is responsible for the layout of > AbsoluteLayout. That means the width of AbsoluteLayout is decided by > ScrollView. > > > > On Thu, Jan 15, 2009 at 11:54 AM,Pachu<pach...@gmail.com> wrote: > > > Right, but shouldn't the AbsoluteLayout still return its own full > > width? > > > On Jan 15, 2:39 pm, Romain Guy <romain...@google.com> wrote: > >> This is because ScrollView does not support horizontal scrolling. > > >> On Thu, Jan 15, 2009 at 11:36 AM,Pachu<pach...@gmail.com> wrote: > > >> > Okay, I got a working version of scaling the view but there is one > >> > major problem. > >> > Let me start by describing the situation. > > >> > The top level view is a ScrollView. > >> > This ScrollView contains an AbsoluteLayout. > >> > The AbsoluteLayout contains text/image widgets that go beyond the > >> > bounds of the display. > > >> > Now interestingly when I get the width/height of the layout, the full > >> > height is returned properly, > >> > however the width returned is the same as the display width. When I > >> > get the ScrollView's width/height I get the screen size values which > >> > is expected. > > >> > Is there any particular reason why the AbsoluteLayout will only return > >> > the screen width but returns the proper height? > > >> > This is the only reason my horizontal scrolling/scrollbars and scaling > >> > behave erratically. > > >> > Thanks, > >> >Pachu. > > >> -- > >> Romain Guy > >> Android framework engineer > >> romain...@android.com > > >> Note: please don't send private questions to me, as I don't have time > >> to provide private support. All such questions should be posted on > >> public forums, where I and others can see and answer them > > -- > Romain Guy > Android framework engineer > romain...@android.com > > Note: please don't send private questions to me, as I don't have time > to provide private support. All such questions should be posted on > public forums, where I and others can see and answer them --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---