<mvc:View
	controllerName="sap.m.sample.NotificationListItem.C"
	xmlns:mvc="sap.ui.core.mvc"
	xmlns="sap.m"
	xmlns:l="sap.ui.layout"
	class="sapUiBodyBackground sapContrastPlus">
	<VBox class="sapUiSmallMargin">
		<NotificationList>
			<layoutData>
				<FlexItemData maxWidth="600px" />
			</layoutData>

			<NotificationListItem
				title="New order (#2525) With a very long title - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent feugiat, turpis vel scelerisque pharetra, tellus odio vehicula dolor, nec elementum lectus turpis at nunc."
				description="And with a very long description and long labels of the action buttons - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent feugiat, turpis vel scelerisque pharetra, tellus odio vehicula dolor, nec elementum lectus turpis at nunc."
				showCloseButton="true"
				datetime="1 hour"
				unread="true"
				priority="None"
				close=".onItemClose"
				press=".onListItemPress"
				authorName="Jean Doe"
				authorPicture="test-resources/sap/m/images/Woman_04.png">
				<buttons>
					<Button text="Accept All Requested Information" press=".onAcceptPress" />
					<Button text="Reject All Requested Information" press=".onRejectPress" />
				</buttons>
			</NotificationListItem>

			<NotificationListItem
				title="New order (#2524), without action buttons"
				description="Short description"
				showCloseButton="true"
				datetime="3 days"
				unread="true"
				priority="High"
				close=".onItemClose"
				press=".onListItemPress"
				authorName="Office Notification"
				authorPicture="sap-icon://group" />

			<NotificationListItem
				title="New order (#2523) With a long title - Lorem ipsum dolor sit amet, consectetur adipiscing elit."
				description="And short description"
				showCloseButton="false"
				unread="false"
				datetime="3 days"
				priority="High"
				close=".onItemClose"
				press=".onListItemPress"
				authorName="Patricia Clark"
				authorInitials="PC"
				authorAvatarColor="Accent8">
				<buttons>
					<Button text="Accept" press=".onAcceptPress" icon="sap-icon://accept" />
					<Button text="Reject" press=".onRejectPress" icon="sap-icon://sys-cancel" />
				</buttons>
			</NotificationListItem>

			<NotificationListItem
				title="New order (#2522)"
				description="With a very long description - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent feugiat, turpis vel scelerisque pharetra, tellus odio vehicula dolor, nec elementum lectus turpis at nunc."
				showCloseButton="true"
				datetime="3 days"
				unread="true"
				priority="Medium"
				close=".onItemClose"
				press=".onListItemPress"
				authorName="John Smith"
				authorInitials="JS"
				authorAvatarColor="Accent4" />

			<NotificationListItem
				title="New order (#2521)"
				description="With a very long description and no action buttons below - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent feugiat, turpis vel scelerisque pharetra, tellus odio vehicula dolor, nec elementum lectus turpis at nunc."
				showCloseButton="true"
				datetime="3 days"
				unread="true"
				priority="Low"
				close=".onItemClose"
				press=".onListItemPress"
				authorName="John Smith"
				authorPicture="test-resources/sap/m/images/headerImg2.jpg" />

			<NotificationListItem
				title="New order (#2525) With a very long title and truncation disabled by default! Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent feugiat, turpis vel scelerisque pharetra, tellus odio vehicula dolor, nec elementum lectus turpis at nunc."
				description="And a very long description and long labels of the action buttons - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent feugiat, turpis vel scelerisque pharetra, tellus odio vehicula dolor, nec elementum lectus turpis at nunc."
				showCloseButton="true"
				datetime="2 day"
				unread="false"
				priority="Low"
				close=".onItemClose"
				press=".onListItemPress"
				authorName="Jean Doe"
				authorPicture="test-resources/sap/m/images/Woman_04.png"
				truncate="false">
				<buttons>
					<Button text="Accept" press=".onAcceptPress" />
				</buttons>
			</NotificationListItem>

			<NotificationListItem
				title="New order (#2525) With a very long title and with truncation enabled but 'Show More' hidden! Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent feugiat, turpis vel scelerisque pharetra, tellus odio vehicula dolor, nec elementum lectus turpis at nunc."
				description="And a very long description and long labels of the action buttons - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent feugiat, turpis vel scelerisque pharetra, tellus odio vehicula dolor, nec elementum lectus turpis at nunc."
				showCloseButton="true"
				datetime="2 day"
				unread="false"
				priority="Low"
				close=".onItemClose"
				press=".onListItemPress"
				authorName="Jean Doe"
				authorPicture="test-resources/sap/m/images/Woman_04.png"
				hideShowMoreButton="true"
				showButtons="false">
				<buttons>
					<Button text="Accept" press=".onAcceptPress" />
					<Button text="Reject" press=".onRejectPress" />
				</buttons>
			</NotificationListItem>

			<NotificationListItem
				title="New order (#2523) With a long title without description - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Lorem ipsum dolor sit amet"
				showCloseButton="false"
				unread="false"
				datetime="3 days"
				priority="High"
				close=".onItemClose"
				press=".onListItemPress"
				authorName="Patricia Clark"
				authorPicture="test-resources/sap/m/images/female_BaySu.jpg">
				<buttons>
					<Button text="Accept" press=".onAcceptPress" icon="sap-icon://accept" />
					<Button text="Reject" press=".onRejectPress" icon="sap-icon://sys-cancel" />
					<Button text="Get Error" press=".onErrorPress" icon="sap-icon://sys-cancel" />
				</buttons>
			</NotificationListItem>

			<NotificationListItem
				title="New order (#2523) With a long title without description"
				showCloseButton="true"
				unread="false"
				datetime="3 days"
				priority="High"
				close=".onItemClose"
				press=".onListItemPress" />
		</NotificationList>
	</VBox>
</mvc:View>