如何制作listview水平进度条的自定义跟踪器?

时间:2012-04-03 06:54:58

标签: android listview progress-bar scrollbar

如何在android中为listview创建自定义跟踪器?当我水平滚动列表视图时,跟踪器应自动可见,并且必须是可编辑的。我的意思是我可以将文本值设置为跟踪器内的textview,如下图所示:

enter image description here enter image description here

1 个答案:

答案 0 :(得分:0)

您可以查看此博客帖子http://android.cyrilmottier.com/?p=556和以下框架https://github.com/rno/Android-ScrollBarPanel供您自己使用。

您可以使用上述方法将工具提示设置为自定义布局文件。您可能必须对框架代码中的边缘情况进行一些调整,因为它允许渲染-ve coords以及屏幕高度coords。