Looks like there might be a solution here, disabling the FastScroller then rolling your own:
http://stackoverflow.com/questions/3531398/resize-fastscroll-alert-dialog So much work for such a simple feature... On Feb 14, 1:30 pm, Paul <[email protected]> wrote: > Gah... it's a hardcoded value, and as you said, is instantiated > directly from AbsListView so I can't extend it and have it used by the > ListView... looks like a dead-end. > > Any suggestions on getting around this, or is my DateIndexer dead in > the water? > > Thanks for any insight, > > Paul > > On Feb 14, 1:16 pm, Kostya Vasilyev <[email protected]> wrote: > > > Paul, > > > Looks like the index popup is drawn here: > > >http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;... > > > Now sure how useful this is, since this is a class that's directly > > instantiated by AbsListView here: > > >http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;... > > > -- Kostya > > > 14.02.2011 21:05, Paul пишет: > > > > I have created a DateIndexer class that mimics the AlphabetIndexer > > > class, except I can pass it an ArrayList of unique dates, and it will > > > generate the section prompts to a ListView when implemented. I'd be > > > happy to share this code once I have it finished... which brings me to > > > this question: The prompts being generated, "February 14th", > > > "February 12th", etc as you scroll down the ListView, are shown > > > properly, but the box that surrounds the date is still the same size > > > as that used by the AlphabetIndexer, in that it is square and only > > > large enough to contain a single letter, not the full date. The end > > > result is the date is shown, but it spills way beyondthe edges fo this > > > fixed box. > > > > There is no code in AlphabetIndexer (and thus my DateIndexer) that > > > directly generates these toast-like prompts, and looking at the > > > SectionIndexer class that AlphabetIndexer implements, there is nothing > > > there either (that is just an abstract class). > > > > Can anyone point me at where the Toast is being generated? I've tried > > > tracing it, but no luck so far. > > > > Thanks. > > > -- > > Kostya Vasilyev --http://kmansoft.wordpress.com -- 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

