-
Notifications
You must be signed in to change notification settings - Fork 0
/
ReversibleWordsPage.xaml
127 lines (127 loc) · 3.57 KB
/
ReversibleWordsPage.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<?xml version="1.0" encoding="UTF-8"?>
<ContentPage
xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="DataflowQueue.ReversibleWordsPage"
Title="ActionBlocks"
>
<ContentPage.ToolbarItems>
<ToolbarItem Name="Go!" Command="{Binding Go}" Order="Primary" Priority="0" />
<ToolbarItem Name="Settings" Command="{Binding Settings}" Order="Primary" Priority="0" Icon="gear39.png" />
</ContentPage.ToolbarItems>
<ContentPage.Content>
<StackLayout>
<Grid Padding="5,5,5,5"
HorizontalOptions="CenterAndExpand" VerticalOptions="StartAndExpand">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="24" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Label
Grid.Column="0" Grid.Row="0"
Text="{Binding Book0}"
XAlign="Center"
YAlign="Center"
/>
<Label
Grid.Column="1" Grid.Row="0"
Text="{Binding Book1}"
XAlign="Center"
YAlign="Center"
/>
<Label
Grid.Column="2" Grid.Row="0"
Text="{Binding Book2}"
XAlign="Center"
YAlign="Center"
/>
<ListView x:Name="list0"
Grid.Column="0" Grid.Row="1"
ItemsSource="{Binding ProgressReports0}"
SeparatorVisibility="None"
HasUnevenRows="True"
BackgroundColor="Navy"
>
<ListView.ItemTemplate>
<DataTemplate>
<ViewCell>
<Grid Padding="5,2,5,2">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Label Text="{Binding Report}"
Grid.Column="0" Grid.Row="0"
FontSize="Small"
TextColor="White"
/>
</Grid>
</ViewCell>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
<ListView x:Name="list1"
Grid.Column="1" Grid.Row="1"
ItemsSource="{Binding ProgressReports1}"
SeparatorVisibility="None"
HasUnevenRows="True"
BackgroundColor="Green"
>
<ListView.ItemTemplate>
<DataTemplate>
<ViewCell>
<Grid Padding="5,2,5,2">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Label Text="{Binding Report}"
Grid.Column="0" Grid.Row="0"
FontSize="Small"
TextColor="White"
/>
</Grid>
</ViewCell>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
<ListView x:Name="list2"
Grid.Column="2" Grid.Row="1"
ItemsSource="{Binding ProgressReports2}"
SeparatorVisibility="None"
HasUnevenRows="True"
BackgroundColor="Purple"
>
<ListView.ItemTemplate>
<DataTemplate>
<ViewCell>
<Grid Padding="5,2,5,2">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Label Text="{Binding Report}"
Grid.Column="0" Grid.Row="0"
FontSize="Small"
TextColor="White"
/>
</Grid>
</ViewCell>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
</Grid>
</StackLayout>
</ContentPage.Content>
</ContentPage>