Add layout manager to view.