Code example for View

Methods: getMeasuredHeight, getMeasuredWidth, layout