sicpaconnexions / SICPA_Connexions / View / AnimalView.xaml @ 35f65dee
Historique | Voir | Annoter | Télécharger (2,937 ko)
1 | 87e7d061 | ajournaux | <?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 | 03682d21 | ajournaux | Title="Animal"> |
6 | 87e7d061 | ajournaux | <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 | 03682d21 | ajournaux | Text="Animal" |
21 | 87e7d061 | ajournaux | VerticalOptions="Center" |
22 | HorizontalOptions="Center" |
||
23 | Style="{StaticResource textTitre}" |
||
24 | />
|
||
25 | </Frame>
|
||
26 | 03682d21 | ajournaux | <Grid ColumnDefinitions="15*,85*" > |
27 | 87e7d061 | ajournaux | <Label Grid.Column="0" |
28 | 03682d21 | ajournaux | Text="Rfid" |
29 | 87e7d061 | ajournaux | Style="{StaticResource textLabel}" /> |
30 | <Label
|
||
31 | Grid.Column="1" |
||
32 | 03682d21 | ajournaux | Text="{Binding NumRfid}" |
33 | 87e7d061 | ajournaux | 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 | 03682d21 | ajournaux | Text="Scan BLE RFID" |
50 | Command="{Binding LectureBLECommand}" |
||
51 | 87e7d061 | ajournaux | Style="{StaticResource btnNormal}" |
52 | VerticalOptions="End"/> |
||
53 | </StackLayout>
|
||
54 | </StackLayout>
|
||
55 | <Grid Grid.RowSpan="1" IsVisible="{Binding IsBusy}"> |
||
56 | 35f65dee | ajournaux | <BoxView BackgroundColor="#FFFFFF" Opacity="0.5" /> |
57 | 87e7d061 | ajournaux | <ActivityIndicator
|
58 | HorizontalOptions="Center" |
||
59 | IsRunning="True" |
||
60 | VerticalOptions="Center" /> |
||
61 | </Grid>
|
||
62 | </Grid>
|
||
63 | </ContentPage> |