onMeasure, onLayout, onDraw: Briefly speaking

A view is expected to measure its size. Not aware of its position where it is in the layout hierarchy. Merely a method for its size!!

a view is called with its old and new positions! The view can further layout its children once it knows where itself is!!

onDraw(): of course use the size and position on the canvas to draw!!