I'm pretty sure he's asking how to determine how large the entire area is, including the portion off-screen
On Oct 24, 5:22 pm, "Justin (Google Employee)" <[EMAIL PROTECTED]> wrote: > I'm not sure what you mean by "scroll" height and width, but I'll try > to answer the question I think you're asking. > > If you have a TextView inside a ScrollView for example, the ScrollView > is the one that is going to return you something meaningful for > getScrollY(). Imagine the TextView to be a sheet of paper affixed to > the wall. The ScrollView is a lens through which you view a portion of > the TextView. getScrollY() called on the ScrollView then tells you how > far from the top edge of the sheet of paper the lens has traveled. > > Cheers, > Justin > Android Team @ Google > > On Oct 22, 7:06 am, Shade <[EMAIL PROTECTED]> wrote: > > > > > Hello! > > > How can i get scroll height and scroll width of the View? > > > getWidth() and getHeight() return View's size > > getScrollX() / getScrollY() - scroll offset. > > Other functions just measure scroll bar. > > > Thank you! > > Michael > > PrinterShare team- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

