Code example for FrameLayout

Methods: getMeasuredHeight, getMeasuredWidth