I want to draw a circle and a pointer which moves along the path. I am able to write text properly on the path. But on the pointer the text gets truncated/overlapped. Tried increasing the textSize and the spanSize with no gain. Below is the code.
canvas.drawPath(mCirclePonterPath, mPointerPaint);
numberPaint.setColor(Color.parseColor("#ffffff"));
numberPaint.setAntiAlias(true);
numberPaint.setStyle(Paint.Style.STROKE);
numberPaint.setTextAlign(Paint.Align.LEFT);
numberPaint.setTextSize(65f);
canvas.drawTextOnPath("10",mCirclePonterPath,0,0,numberPaint);
Attached is the image for reference.