How to Customize Alpha-Indexer While FastScrolling

前端 未结 1 1185
滥情空心
滥情空心 2021-01-22 04:20

I have a ListView with AlphaIndexer implementation using SectionIndexer. I was wondering that if there is anyway to customize the Aplha-In

1条回答
  •  一向
    一向 (楼主)
    2021-01-22 04:55

    If you are using Theme inside your application with reference to res/val/style and it's variant styles-v11 or styles-v14.Then you can surely achieve customize fastscroll indexer.

    Append these attributes in your styles-v11 or styles-v14 inside your parent Theme attribute.

    
    

    Here as it is using ActionBarSherlock, so styles fastScrollPreviewBackgroundLeft and fastScrollPreviewBackgroundRight are appended in it works with API >11.

    Put these inside drawable/_ics_fastscroll_label_left

    _ics_fastscroll_label_left

    0 讨论(0)
提交回复
热议问题