I would like to learn how to draw vertical text on the canvas. Sorry for maybe stupid question, but I can not solve this problem. I can do so:
if (i ==10)
{
this_str2 = "0.00";
}
canvas.save();
canvas.rotate(-90,190,90);
canvas.drawText(this_str2, x_guide +50, drawSizes[1] + drawSizes[3] - (i * drawSizes[3] / 10) +20, paint);
canvas.restore();
}
But it is not properly displayed on the X and Y is any other solution to this problem 7
Try this custom textview, I don't remember where I took if from (here in StackOverflow), if any one remembers, please post a link in the comments.