[android-developers] Re: How do I make a ListView scrollbar expand whilst scrolling?

2009-06-17 Thread rde8026
Can you provide any example of the section indexer your using? I'm stumped and don't seen an example in the api demos. Thx, RE On May 13, 4:12 pm, Joel Wright wrote: > Thanks for the help, I've got the scrollbar working how I wanted it > and I'm working on the SectionIndexer. > > I just have o

[android-developers] Re: How do I make a ListView scrollbar expand whilst scrolling?

2009-05-13 Thread Dianne Hackborn
Yes this is a new API in 1.5. If you need to run on older versions, you can copy the old code out of Contacts before it was integrated into the framework. (That's what I did for Rings Extended.) On Wed, May 13, 2009 at 1:12 PM, Joel Wright wrote: > > Thanks for the help, I've got the scrollbar

[android-developers] Re: How do I make a ListView scrollbar expand whilst scrolling?

2009-05-13 Thread Joel Wright
Thanks for the help, I've got the scrollbar working how I wanted it and I'm working on the SectionIndexer. I just have one question left. Does this mean I'm forced to use the Android 1.5 SDK if I want fastScrollEnabled? - Trying to build the project at a 1.1 level gives me a "no resource identif

[android-developers] Re: How do I make a ListView scrollbar expand whilst scrolling?

2009-05-13 Thread Jeff Sharkey
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

[android-developers] Re: How do I make a ListView scrollbar expand whilst scrolling?

2009-05-13 Thread Dianne Hackborn
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 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