Add layout to views