是否有人找到了使用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. BaseAdapter和SectionIndexer ListView
- 2. android-SimpleAdapter + SectionIndexer
- 3. Android:自定義視圖佈局的SectionIndexer和禁用SectionIndexer飛
- 4. 啓用/禁用ListView的SectionIndexer
- 5. 重新索引/刷新SectionIndexer
- 6. ListAdapter與實施SectionIndexer拋出ClassCastException
- 7. SectionIndexer - 與ArrayAdapter和CustomObject一起使用?
- 8. Android:FastScrolling SectionIndexer getSections()僅被調用一次
- 9. OO設計,桌子設計
- 10. 演化設計x計劃設計
- 11. 如何更改SectionIndexer中彈出的顏色?
- 12. Android SectionIndexer不會在「A」之後顯示字母預覽
- 13. 計劃表設計
- 14. 設計
- 15. 設計
- 16. 在Qt設計中設計QGroupBox
- 17. 3列設計的CSS設計
- 18. Symfony表單設計,實體設計
- 19. MVC設計模式 - 設計模型
- 20. Java API設計 - 內部設計
- 21. 設計會話長度與設計
- 22. 停車場,OOP設計 - 定製設計
- 23. 新的設計模式/設計策略
- 24. 會計事務表設計
- 25. 計數器顯示設計
- 26. ERD-CLASS設計
- 27. iPhone UI設計...!
- 28. 設計RESTful URI
- 29. 設計退出
- 30. WinForms設計師
我正在做類似的東西在這裏http://stackoverflow.com/questions/10224233/alphabetindexer-with-custom-adapter-managed-by-loadermanager – toobsco42 2012-04-25 06:52:42