<mvc:View
	controllerName="sap.m.sample.ObjectHeader.C"
	xmlns:mvc="sap.ui.core.mvc"
	xmlns="sap.m">
	<ObjectHeader
		binding="{/ProductCollection/0}"
		title="{Name}"
		number="{
			parts:[{path:'Price'},{path:'CurrencyCode'}],
			type: 'sap.ui.model.type.Currency',
			formatOptions: {showMeasure: false}
		}"
		numberUnit="{CurrencyCode}"
		class="sapUiResponsivePadding--header" >
		<statuses>
			<ObjectStatus
				text="Some Damaged"
				state="Error" />
			<ObjectStatus
				text="In Stock"
				state="Success" />
		</statuses>
		<ObjectAttribute text="{WeightMeasure} {WeightUnit}" />
		<ObjectAttribute text="{Width} x {Depth} x {Height} {DimUnit}" />
		<ObjectAttribute text="{Description}" />
		<ObjectAttribute
			text="www.sap.com"
			active="true"
			press="handleLinkObjectAttributePress" />
	</ObjectHeader>
</mvc:View>