title: How to center text in an android view class?
body: <p>When I have a class that extends View how can I draw text to the center of that View? To draw the text I am using <code>canvas.drawText</code> but since you can't move text after you draw it I'm not sure how I would center this text. So how would I center text in an android view class</p>