Adding layout to view