I have a custom view in which I override OnDraw. During this, I want to fill the entire canvas with a single color (in my case White). I have tried all of the following:
canvas.DrawColor(Resources.GetColor(Resource.Color.White, null)); canvas.DrawRGB(255, 255, 255); canvas.DrawARGB(255, 255, 255, 255);
None of these seem to be having any effect. All the other draw methods that I am using work fine. What am I doing wrong? How can I perform the simple task of filling the canvas? Thanks.