root / GES_PAC / View / SetListView.xaml @ 4e39035b
Historique | Voir | Annoter | Télécharger (2,547 ko)
1 |
<?xml version="1.0" encoding="utf-8" ?>
|
---|---|
2 |
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui" |
3 |
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" |
4 |
xmlns:vm="clr-namespace:GES_PAC.ViewModel" |
5 |
xmlns:tools="clr-namespace:GES_PAC.View.Tools" |
6 |
x:Class="GES_PAC.View.SetListView" |
7 |
x:DataType="vm:SetListViewModel"> |
8 |
|
9 |
<Grid>
|
10 |
<StackLayout BackgroundColor="White" Spacing="50"> |
11 |
|
12 |
<tools:ConnectionIndicatorView /> |
13 |
<ScrollView>
|
14 |
<StackLayout Spacing="100"> |
15 |
|
16 |
<Label Text="{Binding LastSetText}" |
17 |
FontSize="18" |
18 |
HorizontalOptions="Center"/> |
19 |
|
20 |
|
21 |
</StackLayout>
|
22 |
</ScrollView>
|
23 |
<Grid ColumnDefinitions="*,Auto,*,Auto,*" |
24 |
HorizontalOptions="Center" |
25 |
VerticalOptions="FillAndExpand"> |
26 |
|
27 |
<Button
|
28 |
Grid.Column="1" |
29 |
Text="Reprendre la série" |
30 |
Command="{Binding GoToLastSetCommand}" |
31 |
Style="{StaticResource btnNormal}" |
32 |
VerticalOptions="End" |
33 |
HorizontalOptions="Start" |
34 |
IsVisible="{Binding HasLastSet}" |
35 |
Margin="0,0,20,20"/> |
36 |
|
37 |
<Button
|
38 |
Grid.Column="3" |
39 |
Text="Créer une série" |
40 |
Command="{Binding GoToCreateSetCommand}" |
41 |
Style="{StaticResource btnNormal}" |
42 |
VerticalOptions="End" |
43 |
HorizontalOptions="End" |
44 |
Margin="20,0,0,20"/> |
45 |
</Grid>
|
46 |
|
47 |
</StackLayout>
|
48 |
<Grid Grid.RowSpan="1" IsVisible="{Binding IsBusy}"> |
49 |
<Border StrokeThickness="0" |
50 |
Background="Black" |
51 |
Opacity="0.5" |
52 |
Padding="20" |
53 |
WidthRequest="160" |
54 |
HeightRequest="160" |
55 |
HorizontalOptions="Center" |
56 |
VerticalOptions="Center" |
57 |
StrokeShape="RoundRectangle 20"> |
58 |
|
59 |
<VerticalStackLayout HorizontalOptions="Center" VerticalOptions="Center"> |
60 |
<ActivityIndicator IsRunning="True" Color="White" /> |
61 |
<Label Text="Chargement..." |
62 |
FontSize="14" |
63 |
TextColor="white" |
64 |
HorizontalOptions="Center"/> |
65 |
</VerticalStackLayout>
|
66 |
</Border>
|
67 |
</Grid>
|
68 |
|
69 |
</Grid>
|
70 |
</ContentPage>
|