我有一个ListView使用AlphaIndexer. SectionIndexer我想知道是否有自定义快速滚动时显示的 Aplha-Indexer 框,即更改其颜色、背景、文本字体/颜色等。喜欢:

已编辑
或,当此框与FastScroll Thumb. like:

我有一个ListView使用AlphaIndexer. SectionIndexer我想知道是否有自定义快速滚动时显示的 Aplha-Indexer 框,即更改其颜色、背景、文本字体/颜色等。喜欢:

已编辑
或,当此框与FastScroll Thumb. like:

如果您Theme在应用程序中使用参考 res/val/style和它的变体styles-v11或styles-v14。那么您肯定可以实现自定义fastscroll indexer。
将这些属性附加到您的styles-v11或styles-v14您的父Theme属性中。
<style name="Theme.Zname" parent="@style/Theme.Sherlock.Light">
<item name="android:fastScrollPreviewBackgroundLeft">@drawable/_ics_fastscroll_label_left</item>
<item name="android:fastScrollPreviewBackgroundRight">@drawable/_ics_fastscroll_label_right</item>
</style>
在这里,因为它正在使用ActionBarSherlock,所以样式fastScrollPreviewBackgroundLeft和fastScrollPreviewBackgroundRight附加在它与 API >11.
把这些放在里面drawable/_ics_fastscroll_label_left
