<?xml version="1.0" encoding="UTF-8"?>
RowHeight="120"
HasUnevenRows="true"
BackgroundColor="White"
SeparatorColor="White"
VerticalOptions="Start">
<ListView.ItemTemplate>
<DataTemplate>
<ViewCell>
<RelativeLayout
HorizontalOptions="FillAndExpand"
VerticalOptions="Center"
BackgroundColor="#494949">
<Image
WidthRequest="500"
Aspect = "AspectFill"
AbsoluteLayout.LayoutBounds="0,0,1,1"
Source="{Binding Cover.Source}"
Opacity="0.5"/>
<StackLayout
Orientation="Horizontal"
HorizontalOptions="FillAndExpand"
VerticalOptions="FillAndExpand"
BackgroundColor="Transparent"
Padding="15"
RelativeLayout.XConstraint=
"{ConstraintExpression Type=Constant,
Constant=0}"
RelativeLayout.YConstraint=
"{ConstraintExpression Type=Constant,
Constant=0}"
RelativeLayout.WidthConstraint=
"{ConstraintExpression Type=RelativeToParent,
Property=Width,
Factor=1}"
>
<StackLayout
WidthRequest="60"
HeightRequest="60"
>
<RelativeLayout
>
<Image
WidthRequest="60"
HeightRequest="60"
Source="Background_c"
/>
<Label
TextColor="White"
HorizontalOptions="Center"
XAlign="Center"
YAlign="Center"
FontAttributes="Bold"
FontSize="18"
RelativeLayout.XConstraint=
"{ConstraintExpression Type=RelativeToParent,
Property=Width,
Factor=1,
Constant=0}"
RelativeLayout.YConstraint=
"{ConstraintExpression Type=Constant,
Constant=0}"
/>
<Label
Text="{Binding DateEvent}"
TextColor="White"
HorizontalOptions="Center"
XAlign="Center"
YAlign="Center"
WidthRequest="70"
FontAttributes="Bold"
FontSize="14"
RelativeLayout.XConstraint=
"{ConstraintExpression Type=RelativeToParent,
Property=Width,
Factor=1,
Constant=-65}"
RelativeLayout.YConstraint=
"{ConstraintExpression Type=Constant,
Constant=15}"/>
</RelativeLayout>
</StackLayout>
<StackLayout
Spacing="0"
>
<Label
Text="{Binding Name}"
TextColor="White"
HorizontalOptions="FillAndExpand"
HeightRequest="25"
FontAttributes="Bold"
FontSize="17"/>
<StackLayout
Orientation="Horizontal"
Spacing="10"
HeightRequest="25">
<Label
Text="{Binding WeekDay}"
TextColor="White"
FontSize="17"/>
<Label
Text="{Binding DateEvent}"
TextColor="White"
FontSize="17"/>
</StackLayout>
<StackLayout
Orientation="Horizontal"
VerticalOptions="FillAndExpand"
Spacing="10"
HeightRequest="20"
>
<Label
Text="Sted:"
TextColor="White"
FontSize="14"
VerticalOptions="Center"/>
<Label
Text="{Binding Location}"
TextColor="White"
FontSize="14"
VerticalOptions="Center"/>
</StackLayout>
</StackLayout>
</StackLayout>
<Image
Source="Arrow-1"
WidthRequest="30"
HeightRequest="30"
VerticalOptions="Center"
HorizontalOptions="Center"
RelativeLayout.XConstraint=
"{ConstraintExpression Type=RelativeToParent,
Property=Width,
Factor=1,
Constant=-25}"
RelativeLayout.YConstraint=
"{ConstraintExpression Type=Constant,
Constant=57}"
/>
</RelativeLayout>
</ViewCell>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
</StackLayout>
</StackLayout>