Invalidate the whole view.
I'm learning about custom views and wanted to learn about invalidate() and requestLayout(). Please refer to this answer and its …