Custom view has an example, but view groups and layouts only have a basic api documentation. Should explain stuff bettern in module-level docs.