<mvc:View
	xmlns="sap.m"
	xmlns:mvc="sap.ui.core.mvc"
	xmlns:w="sap.ui.integration.widgets"
	displayBlock="true"
	controllerName="sap.f.cardsdemo.controller.ObjectContent">
	<Page title="{i18n>appTitle}">
		<subHeader>
			<Toolbar>
				<ToolbarSpacer />
				<Title text="Object Content Card" />
				<ToolbarSpacer />
			</Toolbar>
		</subHeader>

		<SegmentedButton
			selectedKey="cozy"
			selectionChange=".onFormFactorChange"
			class="VizTestDensityBtn sapUiSmallMargin">
			<items>
				<SegmentedButtonItem text="Cozy" key="cozy"/>
				<SegmentedButtonItem text="Compact" key="compact" />
			</items>
		</SegmentedButton>
		<mvc:View viewName="sap.f.cardsdemo.view.common.CommonCardSettings" type="XML" async="true"></mvc:View>
		<Panel>
			<w:Card
				id="card1"
				manifest="{cardsPlayground>/playgroundBaseUrl}/cardcontent/objectcontent/datahandling_manifest.json"
				width="auto"
				class="sapUiTinyMargin" />
			<w:Card
				id="cardLongLabelAvatar"
				manifest="{cardsPlayground>/playgroundBaseUrl}/cardcontent/objectcontent/manifest.json"
				width="auto"
				class="sapUiTinyMargin" />
			<w:Card
				manifest="{cardsPlayground>/playgroundBaseUrl}/cardcontent/objectcontent/manifest.json"
				width="400px"
				class="sapUiTinyMargin" />
			<w:Card
				manifest="{cardsPlayground>/playgroundBaseUrl}/cardcontent/objectcontent/manifest.json"
				width="400px"
				height="275px"
				class="sapUiTinyMargin" />
			<w:Card
				id="card2"
				manifest="{cardsPlayground>/playgroundBaseUrl}/cardcontent/objectcontent/staticData.json"
				width="auto"
				class="sapUiTinyMargin" />
			<w:Card
				manifest="{cardsPlayground>/playgroundBaseUrl}/cardcontent/objectcontent/object_snack.manifest.json"
				width="auto"
				class="sapUiTinyMargin" />
			<w:Card
				manifest="{cardsPlayground>/playgroundBaseUrl}/cardcontent/objectcontent/object_bite.manifest.json"
				width="auto"
				class="sapUiTinyMargin" />
			<w:Card
				manifest="{cardsPlayground>/playgroundBaseUrl}/cardcontent/objectcontent/withExtension/manifest.json"
				width="auto"
				class="sapUiTinyMargin" />
			<w:Card
				id="card3"
				manifest="{cardsPlayground>/playgroundBaseUrl}/cardcontent/objectcontent/form.json"
				width="400px"
				class="sapUiTinyMargin" />
			<w:Card id="card4" manifest="{cardsPlayground>/playgroundBaseUrl}/cardcontent/objectcontent/titleMaxLines_labelWrapping.json"
				width="400px"
				class="sapUiTinyMargin" />
			<w:Card
				manifest="{cardsPlayground>/playgroundBaseUrl}/cardcontent/objectcontent/formWithValidations.json"
				width="400px"
				class="sapUiTinyMargin" />
		</Panel>
	</Page>
</mvc:View>