Also, to get the A-Z overlay when using fastScrollEnabled, you'll need to implement SectionIndexer for your adapter. Something like AlphabetIndexer works great if you have a sorted Cursor.
http://developer.android.com/reference/android/widget/SectionIndexer.html j On Wed, May 13, 2009 at 11:42 AM, Dianne Hackborn <hack...@android.com> wrote: > Use this: > http://developer.android.com/reference/android/widget/AbsListView.html#attr_android:fastScrollEnabled > > On Wed, May 13, 2009 at 3:39 AM, Joel Wright <joel.wri...@gmail.com> wrote: >> >> Hi, >> >> I'm having a little problem with a ListView scrollbar. The scrollbar >> appears at the side as expected, but how do I get the scrollbar to >> expand and become controllable in the same way it behaves in the >> Contact list? Ideally I'd like all the Contacts list functionality for >> my app - i.e. to allow me to control the scrollbar directly with a >> finger and to show the first letter of the list elements you're >> currently scrolled to. >> >> Any pointers would be gratefully received, >> Thanks, >> Joel. >> >> > > > > -- > Dianne Hackborn > Android framework engineer > hack...@android.com > > Note: please don't send private questions to me, as I don't have time to > provide private support, and so won't reply to such e-mails. All such > questions should be posted on public forums, where I and others can see and > answer them. > > > > > -- Jeff Sharkey jshar...@google.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---