运行时闪退
int startX = (int) (lineHeight/2); int endX = (int) (w-lineHeight/2); int y = (int) ((0.5 + i) * lineHeight); canvas.drawLine(startX,y,endX,y,mPaint); canvas.drawLine(y,startX,y,endX,mPaint); 下面还用打int startY吗?
int startX = (int) (lineHeight/2); int endX = (int) (w-lineHeight/2); int y = (int) ((0.5 + i) * lineHeight); canvas.drawLine(startX,y,endX,y,mPaint); canvas.drawLine(y,startX,y,endX,mPaint); 下面还用打int startY吗?
2020-06-30
举报