[android-developers] Re: protected member variable mScrollX not accessible to subclasses of ViewGroup

2009-10-04 Thread Gavin Bong
> mScrollX is a protected member of View, so should be accessible to any > subclass. It should be but eclipse is flagging it. I presume one of Android's eclipse Builders are flagging it. Regards, G --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] Re: protected member variable mScrollX not accessible to subclasses of ViewGroup

2009-10-04 Thread Gavin Bong
Thanks. scrollTo() solved it for me. On 2 oct, 23:35, Romain Guy wrote: > mScrollX is not part of the public API. Use getScrollX() and > scrollBy()/scrollTo() to change it. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

[android-developers] Re: protected member variable mScrollX not accessible to subclasses of ViewGroup

2009-10-02 Thread Romain Guy
mScrollX is not part of the public API. Use getScrollX() and scrollBy()/scrollTo() to change it. On Fri, Oct 2, 2009 at 7:16 AM, Marco Nelissen wrote: > > On Fri, Oct 2, 2009 at 12:54 AM, Gavin Bong wrote: >> >> In the android Launcher app, Workspace.java accesses the mScrollX >> member variabl

[android-developers] Re: protected member variable mScrollX not accessible to subclasses of ViewGroup

2009-10-02 Thread Marco Nelissen
On Fri, Oct 2, 2009 at 12:54 AM, Gavin Bong wrote: > > In the android Launcher app, Workspace.java accesses the mScrollX > member variable. > > http://www.google.com/codesearch/p?hl=fr&sa=N&cd=2&ct=rc#4r7JaNM0EqE/src/com/android/launcher/Workspace.java&q=computeScroll > > However it looks like mS