Code example for View

Methods: getMeasuredWidth, measure