creating layout view