Setup CaptureActivity into a layout.