Hi guys...
From the title it may be somewhat difficult to understand what I'm asking...
I have a scrollview wich CAN be bigger that the screen, depending on user input...
In it I have several Panels to which I gave the ability to expand/colapse in the vertical axis. They act as menu Titles.
In these panels I have several labels placed in the horizontal axis.
I need to know the TOP property of a particular label, within its panel, independently of if the scroll view has been scrolled or not.
So If my panel is placed at 200dip in the vertical axis, and my label is at 10dip inside my panel, the I have a relative top value of 10dip (label to parent panel) but my panel, even though it is placed at 200dip, may NOT be presented to the user at that coordinate, because of the very useful behaviour of the scroll view...
I know we have a scrollPosition for the scrollview, but that points to Where???? the absolute (in view) zero, or the relative position of the scrollview (like giving me 200dip if my panel is within view)?
From the title it may be somewhat difficult to understand what I'm asking...
I have a scrollview wich CAN be bigger that the screen, depending on user input...
In it I have several Panels to which I gave the ability to expand/colapse in the vertical axis. They act as menu Titles.
In these panels I have several labels placed in the horizontal axis.
I need to know the TOP property of a particular label, within its panel, independently of if the scroll view has been scrolled or not.
So If my panel is placed at 200dip in the vertical axis, and my label is at 10dip inside my panel, the I have a relative top value of 10dip (label to parent panel) but my panel, even though it is placed at 200dip, may NOT be presented to the user at that coordinate, because of the very useful behaviour of the scroll view...
I know we have a scrollPosition for the scrollview, but that points to Where???? the absolute (in view) zero, or the relative position of the scrollview (like giving me 200dip if my panel is within view)?