sicpaconnexions / SICPA_Connexions / View / AnimalView.xaml @ 03682d21
Historique | Voir | Annoter | Télécharger (2,937 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 |
x:Class="SICPA_Connexions.View.AnimalView" |
5 |
Title="Animal"> |
6 |
<Grid>
|
7 |
<StackLayout BackgroundColor="{StaticResource InraePrimary}" Spacing="0"> |
8 |
<ScrollView>
|
9 |
<StackLayout Spacing="0"> |
10 |
<StackLayout
|
11 |
Margin="10" |
12 |
HorizontalOptions="FillAndExpand" |
13 |
VerticalOptions="FillAndExpand"> |
14 |
<Frame HorizontalOptions="FillAndExpand" |
15 |
VerticalOptions="FillAndExpand" CornerRadius="5"> |
16 |
|
17 |
<StackLayout>
|
18 |
<Frame BorderColor="{StaticResource InraePrimary}" Margin="0,0,0,20"> |
19 |
<Label
|
20 |
Text="Animal" |
21 |
VerticalOptions="Center" |
22 |
HorizontalOptions="Center" |
23 |
Style="{StaticResource textTitre}" |
24 |
/>
|
25 |
</Frame>
|
26 |
<Grid ColumnDefinitions="15*,85*" > |
27 |
<Label Grid.Column="0" |
28 |
Text="Rfid" |
29 |
Style="{StaticResource textLabel}" /> |
30 |
<Label
|
31 |
Grid.Column="1" |
32 |
Text="{Binding NumRfid}" |
33 |
VerticalOptions="Center" |
34 |
HorizontalOptions="Center" |
35 |
Style="{StaticResource textLabel}"/> |
36 |
</Grid>
|
37 |
</StackLayout>
|
38 |
</Frame>
|
39 |
</StackLayout>
|
40 |
</StackLayout>
|
41 |
</ScrollView>
|
42 |
<StackLayout
|
43 |
Margin="10" |
44 |
HorizontalOptions="CenterAndExpand" |
45 |
Orientation="Horizontal" |
46 |
VerticalOptions="FillAndExpand"> |
47 |
|
48 |
<Button
|
49 |
Text="Scan BLE RFID" |
50 |
Command="{Binding LectureBLECommand}" |
51 |
Style="{StaticResource btnNormal}" |
52 |
VerticalOptions="End"/> |
53 |
</StackLayout>
|
54 |
</StackLayout>
|
55 |
<Grid Grid.RowSpan="1" IsVisible="{Binding IsBusy}"> |
56 |
<BoxView BackgroundColor="#FFFFFF" Opacity="0.3" /> |
57 |
<ActivityIndicator
|
58 |
HorizontalOptions="Center" |
59 |
IsRunning="True" |
60 |
VerticalOptions="Center" /> |
61 |
</Grid>
|
62 |
</Grid>
|
63 |
</ContentPage>
|