0

I have extended ListView such that I can have a fast scroller. In the onDraw method I draw a rectangle with lettering along the right edge of the list, and if you are actively sliding your finger up and down I render the current letter in the center of the view. The problem is the list items render on top. Not idea. I am looking for the best way to render my background, then my list items, then my foreground.

4

1 回答 1

2

覆盖dispatchDraw()而不是onDraw(), 并在调用 super 方法后绘制快速滚动条。

于 2013-08-23T20:44:58.953 回答