android自定义view,ondraw画字体怎么确定文字大小? 继承View的时,自己画文字。canvas.drawText(.......) ------解决思路---------------------- paint The paint used for the text (e.g. color, size, style)
public void drawText(char[] text, int index, int count, float x, float y, Paint paint)