赞
踩
1 canvas.drawColor(Color.YELLOW);
canvas.drawColor(Color.argb(125,255,0,255));
2 绘制一个带有颜色的矩形 canvas.drawRect(0,0,getWidth(),getHeight(),rect);