Made views extend a layout