Code example for DynamicLayout

Methods: getHeight, getWidth