0
我正面临着我的三星Galaxy S3和自定义TextView
组件的巨大性能问题。Paint.Style.STROKE和drawText性能不佳
我重写onDraw
方法:
canvas.drawText(getText().toString(), x, y, borderPaint);
canvas.drawText(getText().toString(), x, y, textPaint);
的问题是使用Paint.Style.STROKE
borderPaint
。如果我评论该属性,一切工作顺利,但我需要它为我的边框绘制TextView
谢谢。