Code example for RelativeLayout

Methods: getWidth, setAlpha