Android Question Draw partial circle


Licensed User
Longtime User
I want to draw a count-down timer circle so I'll have full control over how much of the circle is drawn, similar to this:


(Dashed line is not required - I actually prefer a solid line)

I also need to be able to place whatever text I want inside the circle.

I did a search and came across this post:
And tried the DrawArc because it looked like something that would work because it has "StartDegree" and "EndDegree".

But it drew the curve with a straight line going from the starting deg to the ending deg so that didn't work.

I haven't done a lot of graphics programming in the past, and I'm hoping there is an easy solution.

Thanks for any help.


B4X founder
Staff member
Licensed User
Longtime User

And with gradient:
Upvote 0