docs for view and subviews