<mvc:View
		controllerName="sap.ui.documentation.sdk.controller.ControlsMaster"
		xmlns:mvc="sap.ui.core.mvc"
		xmlns="sap.m"
		class="sapContrast sapContrastPlus">
	<Page
			id="exploredMasterPage"
			showFooter="false"
			navButtonPress="onNavBack"
			showNavButton="false"
			class="sapUiDocumentationMasterPage">

		<!-- Header -->
		<customHeader>
			<Toolbar width="100%">
				<SearchField id="searchField" placeholder="{i18n>CONTROLS_MASTER_FILTER_PLACERHOLDER}" liveChange="handleListFilter" class="sapUiDocumentationFilterField" />
				<Button id="listFilterSettings" icon="sap-icon://drop-down-list" press="handleListSettings" tooltip="{i18n>CONTROLS_MASTER_FILTER_BTN_TOOLTIP}"/>
				<Button id="sampleSettings" icon="sap-icon://action-settings" press="handleSettings" />
			</Toolbar>
		</customHeader>

		<!-- Navigation List -->
		<content>
			<List id="exploredMasterList"
				  mode="{viewModel>/listMode}"
				  selectionChange="onNavToEntity"
				  noDataText="{i18n>CONTROLS_MASTER_NO_DATA_TEXT}"
				  items="{path: '/entities',
				  groupHeaderFactory: '.getGroupHeader',
				  sorter: [{
						path: 'category',
						descending: false,
						group: true
					},{
						path: 'name',
						descending: false
					}]}">
				<infoToolbar>
					<Toolbar id="vsFilterBar"
							active="true"
							visible="false"
							press="handleListSettings">
						<Label id="vsFilterLabel" />
					</Toolbar>
				</infoToolbar>
				<items>
					<StandardListItem
							title="{name}"
							counter="{sampleCount}"
							type="{viewModel>/listItemType}"
							press="onNavToEntity" />
				</items>
			</List>
		</content>
	</Page>
</mvc:View>
