Code example for TextView

Methods: getMeasuredWidth, layout