Fixed 'layoutview' example.