2024-04-09 12:53:23 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
2021-11-07 19:42:59 +01:00
|
|
|
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
2024-04-09 12:53:23 +02:00
|
|
|
xmlns:local_minisurvey="clr-namespace:ShareeBike.View.MiniSurvey.Question"
|
|
|
|
x:Class="ShareeBike.View.MiniSurvey.MiniSurveyPage">
|
|
|
|
<ContentPage.Resources>
|
|
|
|
<ResourceDictionary>
|
|
|
|
<local_minisurvey:QuestionViewCellTemplateSelector x:Key="questionViewCellTemplateSelector"/>
|
|
|
|
</ResourceDictionary>
|
|
|
|
</ContentPage.Resources>
|
|
|
|
<ContentPage.Content>
|
|
|
|
<Frame>
|
|
|
|
<StackLayout>
|
|
|
|
<Label
|
2021-11-07 19:42:59 +01:00
|
|
|
FontSize="Large"
|
|
|
|
FontAttributes="Bold"
|
|
|
|
Text="{Binding Title}"/>
|
2024-04-09 12:53:23 +02:00
|
|
|
<Label
|
2021-11-07 19:42:59 +01:00
|
|
|
Text="{Binding Subtitle}"/>
|
2024-04-09 12:53:23 +02:00
|
|
|
<ListView
|
2021-11-07 19:42:59 +01:00
|
|
|
x:Name="MiniSurveyListView"
|
|
|
|
HasUnevenRows="True"
|
|
|
|
ItemTemplate="{StaticResource questionViewCellTemplateSelector}">
|
2024-04-09 12:53:23 +02:00
|
|
|
</ListView>
|
|
|
|
<Label
|
2021-11-07 19:42:59 +01:00
|
|
|
Text="{Binding Footer}"/>
|
2024-04-09 12:53:23 +02:00
|
|
|
<Button
|
2021-11-07 19:42:59 +01:00
|
|
|
IsEnabled="False"
|
|
|
|
Command="{Binding OnButtonClicked}"
|
2022-08-30 15:42:25 +02:00
|
|
|
Text="OK"
|
|
|
|
WidthRequest="100"
|
|
|
|
Margin="0,0,0,3"/>
|
2024-04-09 12:53:23 +02:00
|
|
|
</StackLayout>
|
|
|
|
</Frame>
|
|
|
|
</ContentPage.Content>
|
|
|
|
</ContentPage>
|