我有一个ListView
with AlphaIndexer
实施使用SectionIndexer
。我想知道是否可以自定义快速滚动时显示的 Alpha 索引器框,即更改其颜色、背景、文本字体/颜色等。例如:
Edited或者,当该框与FastScroll Thumb. like:
如果您正在使用Theme
在您的应用程序中参考res/val/style
它的变体styles-v11
or styles-v14
.那么您一定可以实现定制fastscroll indexer
.
将这些属性附加到您的styles-v11
or 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
and fastScrollPreviewBackgroundRight
附加在它的作品中API >11
.
把这些放进去drawable/_ics_fastscroll_label_left
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)