[view] incorporated layout resource into view middle