For any information on how to create custom views you can refer to the link below. Set step count and current count. Set different dimensions for circle radius, line length, line gap, stroke width, ...