Code example for RelativeLayout

Methods: requestLayout, getWidth