1

How to accelerate PaintView in android

view story
linux-howto

http://stackoverflow.com – I have a paintview class extends View there are three main methods from my custom view: @Override protected void onAttachedToWindow() { super.onAttachedToWindow(); Log.d("canvas", "onattach"); mCompletedPaths = new ArrayList<Path>(); mFingerPaint = new Paint(); mFingerPaint.setAntiAlias(true); mFingerPaint.setColor(Color.RED); mFingerPaint.setStyle(Paint.Style.STROKE); mFingerPaint.setStrokeWidth(7); mFingerPaint.setStrokeCap(Paint.Cap.BUTT); } @Override protected void onDraw(Canvas canvas) { super.onDraw(canvas); Log.d("canvas", "ondraw"); (HowTos)