I have a custom View that uses Paint and Canvas to draw objects. My question is how to set:
int color = R.color.white; paint.setColor(color);
paint.setColor(Color.parseColor("#FFFFFF"))