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