Hi, Did you get any help with this question, I am having the same problem. No scroll bars are displayed. I also wish to get the Y position of the scrollbar and see if it is bigger or smaller than screen width / 2.
BR Jonas On Mar 5, 12:15 pm, Neha <[email protected]> wrote: > Hi, > > I am working on adding vertical and horizontal scrollbars in a custom > drawn View. I have overridden the compute*ScrollOffset, > compute*ScrollRange, etc methods and have enabled the scrollbars by > called set*ScrollBarEnabled. However, I do not see the scrollbars in > my View, even after a call to scrollBy, which according to the > documentation calls awakenScrollbars (I assumed awakenScrollbars is > not required as the scrollbars do not auto-fade - > isScrollbarFadingEnabled returns false). > Does anyone have a sample with scrollbars in a custom view which they > can share? Or provide any pointers as to how this should be fixed? > > Any help would be appreciated. > Thanks! -- 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

