You can program your own View
, which draws vertical lines at any points you want.
See: http://developer.android.com/guide/topics/ui/custom-components.html
You just need to override onDraw(Canvas canvas)
to draw your lines. As markers, you can use the proportions of the width of the view. Each vertical line will be at a point.
lineNumber * (viewWidth) / numLines
from lineNumber = 0 to lineNumber = numLines-1
Your progress will be made in a similar way, but yes .. you must do it yourself.
source share