protected void onDraw(Canvas canvas){ super.onDraw(canvas); int r=getWidth()/2; int centerX=getLeft()+r; int centerY=getTop()+r; paint paint=new Paint(); paint.setColor(Color.RED); canvas.drawCircle(centerX,centerY,r,paint);}
炎炎设计
相关分类