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 <[email protected]> wrote: > > Right, but shouldn't the AbsoluteLayout still return its own full > width? > > On Jan 15, 2:39 pm, Romain Guy <[email protected]> wrote: >> This is because ScrollView does not support horizontal scrolling. >> >> >> >> On Thu, Jan 15, 2009 at 11:36 AM,Pachu<[email protected]> 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 >> [email protected] >> >> 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 [email protected] 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 [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 -~----------~----~----~----~------~----~------~--~---

