Révision e4b899ed TestXamConnections/TestXamConnections/Views/InternServiceView.xaml

Voir les différences:

TestXamConnections/TestXamConnections/Views/InternServiceView.xaml
3 3
    x:Class="TestXamConnections.Views.InternServiceView"
4 4
    xmlns="http://xamarin.com/schemas/2014/forms"
5 5
    xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
6
    xmlns:xe="clr-namespace:XamEffects;assembly=XamEffects">
6
    xmlns:xe="clr-namespace:XamEffects;assembly=XamEffects"
7
    Title="Services internes">
7 8
    <ContentPage.Content>
8 9

  
9 10
        <StackLayout BackgroundColor="#001729" VerticalOptions="FillAndExpand">
10 11
            <Grid VerticalOptions="FillAndExpand">
11 12
                <StackLayout Spacing="15" VerticalOptions="CenterAndExpand">
12 13

  
14
                    <!--#region SCANRFID-->
13 15
                    <xe:BorderView
14 16
                        Margin="0,20,0,0"
15
                        xe:Commands.Tap="{Binding StartScanCommand}"
17
                        xe:Commands.Tap="{Binding StartScanRFIDCommand}"
16 18
                        xe:TouchEffect.Color="#0060a8"
17 19
                        BackgroundColor="#003266"
18 20
                        CornerRadius="65"
......
59 61
                                TextColor="White" />
60 62
                        </StackLayout>
61 63
                    </Frame>
64
                    <!--#endregion-->
62 65

  
66
                    <!--#region SCAN BARCODE-->
67
                    <xe:BorderView
68
                        Margin="0,20,0,0"
69
                        xe:Commands.Tap="{Binding StartScanBarcodeCommand}"
70
                        xe:TouchEffect.Color="#0060a8"
71
                        BackgroundColor="#003266"
72
                        CornerRadius="65"
73
                        HorizontalOptions="Center">
74
                        <StackLayout Padding="15,10">
75
                            <Label
76
                                FontSize="Medium"
77
                                HorizontalOptions="Center"
78
                                HorizontalTextAlignment="Center"
79
                                Text="Scan Barcode"
80
                                TextColor="#34a9ff" />
81
                        </StackLayout>
82
                    </xe:BorderView>
83

  
84
                    <Frame
85
                        Padding="0"
86
                        BackgroundColor="Transparent"
87
                        BorderColor="#4f5a64"
88
                        CornerRadius="5"
89
                        HasShadow="False"
90
                        HorizontalOptions="Center"
91
                        IsVisible="{Binding ShowBarcode}"
92
                        VerticalOptions="CenterAndExpand"
93
                        WidthRequest="200">
94
                        <StackLayout Spacing="0">
95
                            <Label
96
                                Margin="15"
97
                                FontSize="15"
98
                                HorizontalTextAlignment="Center"
99
                                Text="RFID Scanné"
100
                                TextColor="#34a9ff" />
101

  
102
                            <BoxView
103
                                HeightRequest="1"
104
                                HorizontalOptions="FillAndExpand"
105
                                Color="#4f5a64" />
106

  
107
                            <Label
108
                                Margin="0,10"
109
                                FontAttributes="Bold"
110
                                FontSize="17"
111
                                HorizontalTextAlignment="Center"
112
                                Text="{Binding BarcodeResult}"
113
                                TextColor="White" />
114
                        </StackLayout>
115
                    </Frame>
116
                    <!--#endregion-->
117

  
118
                    <!--#region ERROR-->
63 119
                    <Frame
64 120
                        Padding="0"
65 121
                        BackgroundColor="Transparent"
......
92 148
                                TextColor="RED" />
93 149
                        </StackLayout>
94 150
                    </Frame>
151
                    <!--#endregion-->
95 152

  
96 153
                </StackLayout>
97 154
                <Grid

Formats disponibles : Unified diff