added a layout view