[android-developers] Re: Scaling objects within an AbsoluteLayout

2009-01-15 Thread Romain Guy
They're not, you can use getScrollX/Y instead. On Thu, Jan 15, 2009 at 1:46 PM, Pachu wrote: > > Also I have tried creating my own ScrollView class but, there are > several member variables that I see being used in the source code on > GIT namely mScrollX and mScrollY, but as far as I know these

[android-developers] Re: Scaling objects within an AbsoluteLayout

2009-01-15 Thread Pachu
Also I have tried creating my own ScrollView class but, there are several member variables that I see being used in the source code on GIT namely mScrollX and mScrollY, but as far as I know these have been removed from View going from 0.9 to 1.0, and they are critical to the functionality of Scrol

[android-developers] Re: Scaling objects within an AbsoluteLayout

2009-01-15 Thread Pachu
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 stil

[android-developers] Re: Scaling objects within an AbsoluteLayout

2009-01-15 Thread Romain Guy
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 wrote: > > Right, but shouldn't the AbsoluteLayout still return its own full > width? > > On Jan 15, 2:39 pm, Romain

[android-developers] Re: Scaling objects within an AbsoluteLayout

2009-01-15 Thread Pachu
Right, but shouldn't the AbsoluteLayout still return its own full width? On Jan 15, 2:39 pm, Romain Guy wrote: > This is because ScrollView does not support horizontal scrolling. > > > > On Thu, Jan 15, 2009 at 11:36 AM,Pachu wrote: > > > Okay, I got a working version of scaling the view but the

[android-developers] Re: Scaling objects within an AbsoluteLayout

2009-01-15 Thread Romain Guy
This is because ScrollView does not support horizontal scrolling. On Thu, Jan 15, 2009 at 11:36 AM, Pachu 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 Scro

[android-developers] Re: Scaling objects within an AbsoluteLayout

2009-01-15 Thread Pachu
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