I have class MyView that extends View class. MyView should draw filled triangle. I drew a triangle but I cannot get it filled. This is my onDraw() method:
I would like to point out that you should never initiialize an object from onDraw() as it gets called multiple times and leads to performance problems.