Android Question Canvas: center text vertically

You should use:
cnv.MeasureStringHeight("a", Typeface.DEFAULT, TextSize)
instead of
cnv.MeasureStringHeight(Text, Typeface.DEFAULT, TextSize)
 

Attachments

Upvote 0
Back
Top