view with layout