<mvc:View
		controllerName="sap.ui.documentation.sdk.controller.Code"
		xmlns:mvc="sap.ui.core.mvc"
		xmlns:core="sap.ui.core"
		xmlns:l="sap.ui.layout"
		xmlns="sap.m"
		xmlns:ce="sap.ui.codeeditor" height="100%">
	<Page
			id="page"
			showHeader="false"
			showNavButton="true"
			navButtonPress="onNavBack"
			title="{/title}"
			icon="img/144_iPad_Retina_Web_Clip.png"
			enableScrolling="false">
		<landmarkInfo>
			<PageAccessibleLandmarkInfo rootRole="Region" rootLabel="Details" headerRole="Region" headerLabel="Header" contentRole="Main" contentLabel="Content"></PageAccessibleLandmarkInfo>
		</landmarkInfo>
		<subHeader>
			<Bar id="header" class="sapContrast sapContrastPlus">
				<contentLeft>
					<Button type="Back" press="onNavBack" tooltip="{i18n>CODE_BACK_BTN_TOOLTIP}"/>
				</contentLeft>
				<contentMiddle>
					<Title text="{/title}"/>
				</contentMiddle>
				<contentRight>
					<Button id="apiRefButton" text="{i18n>CODE_API_REFERENCE}" type="Emphasized" press="onAPIRefPress" visible="false"/>
					<Button
							class="sapUiHideOnPhone"
							text="{i18n>CODE_DOWNLOAD_BTN}"
							icon="sap-icon://download"
							press="onDownload" />
					<Button
							class="sapUiVisibleOnlyOnPhone"
							icon="sap-icon://download"
							press="onDownload" />
				</contentRight>
			</Bar>
		</subHeader>
		<content>
			<l:FixFlex>
				<l:fixContent>
					<IconTabHeader
							id="tabHeader"
							mode="Inline"
							items="{/files}"
							select="handleTabSelectEvent"
							selectedKey="{/fileName}">
						<items>
							<IconTabFilter
								key="{name}"
								text="{name}"/>
						</items>
					</IconTabHeader>
				</l:fixContent>
				<l:flexContent>
					<ce:CodeEditor
						id="codeEditor"
						editable="false" />
				</l:flexContent>
			</l:FixFlex>
		</content>
	</Page>
</mvc:View>
