Adds layout to layout file