Change to use FrameLayout as root element.