1.定义颜色:
<color name="transparent">#00000000</color>
2设置canvas颜色:
canvas.drawColor(getResources().getColor(R.color.transparent));
1.定义颜色:
<color name="transparent">#00000000</color>
2设置canvas颜色:
canvas.drawColor(getResources().getColor(R.color.transparent));