是否有人找到了使用SectionIndexer時出現的小部件樣式的方法?設計更改的樣式,如更改文本顏色或背景顏色。設計sectionIndexer
3
A
回答
3
1
我已經在這裏找到答案:
https://gist.github.com/DHuckaby/d6b1d9c8e7f9d70c39de
public class CustomListView extends ListView {
public CustomListView(Context context, AttributeSet attrs) {
super(new ContextThemeWrapper(context, R.style.CustomListView), attrs);
}
}
風格。 xml
<resources>
<style name="CustomListView" parent="@style/GlobalTheme">
<item name="android:textColorPrimary">?android:textColorPrimaryInverse</item>
</style>
</resources>
相關問題
- 1. android sectionindexer教程?
- 2. BaseAdapter和SectionIndexer ListView
- 3. android-SimpleAdapter + SectionIndexer
- 4. Android:自定義視圖佈局的SectionIndexer和禁用SectionIndexer飛
- 5. LIstView SectionIndexer給出錯誤ArrayIndexOutOfBoundsException
- 6. 啓用/禁用ListView的SectionIndexer
- 7. BaseExpandListList中的IndexOutOfBoundsException實現SectionIndexer
- 8. Android的ListView SectionIndexer與光標
- 9. 重新索引/刷新SectionIndexer
- 10. Android中使用GridView的SectionIndexer
- 11. Android:如何使用SectionIndexer
- 12. ListAdapter與實施SectionIndexer拋出ClassCastException
- 13. 如何在日期中使用SectionIndexer
- 14. Android:FastScrolling SectionIndexer getSections()僅被調用一次
- 15. ListView SectionIndexer的框是透明的
- 16. SectionIndexer - 與ArrayAdapter和CustomObject一起使用?
- 17. SectionIndexer如何影響Android快速滾動?
- 18. SectionIndexer在Android的列表視圖類
- 19. OO設計,桌子設計
- 20. 演化設計x計劃設計
- 21. FastScroll與自定義ListAdapter奇怪行爲實現SectionIndexer
- 22. Android的錯誤日誌中SectionIndexer陣列(快速滾動)
- 23. 如何更改SectionIndexer中彈出的顏色?
- 24. Android SectionIndexer不會在「A」之後顯示字母預覽
- 25. 如何在自定義ArrayAdapter上使用SectionIndexer?
- 26. 在HoneyComb的特定部分使用SectionIndexer時,滾動條消失
- 27. 兒童在項目列表視圖中已實現SectionIndexer
- 28. 計劃表設計
- 29. 設計
- 30. 設計
我正在做類似的東西在這裏http://stackoverflow.com/questions/10224233/alphabetindexer-with-custom-adapter-managed-by-loadermanager – toobsco42 2012-04-25 06:52:42