SHOW:
|
|
- or go back to the newest paste.
1 | <?xml version="1.0" encoding="utf-8" ?> | |
2 | <views:MvxContentPage | |
3 | xmlns="http://xamarin.com/schemas/2014/forms" | |
4 | xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | |
5 | xmlns:mvx="clr-namespace:MvvmCross.Forms.Bindings;assembly=MvvmCross.Forms" | |
6 | xmlns:views="clr-namespace:MvvmCross.Forms.Views;assembly=MvvmCross.Forms" | |
7 | xmlns:viewModels="clr-namespace:FiberStarMobileApp.Core.ViewModels;assembly=FiberStarMobileApp.Core" | |
8 | x:TypeArguments="viewModels:AttendanceViewModels.ListDetailAttendanceViewModel" | |
9 | xmlns:material="clr-namespace:XF.Material.Forms.UI;assembly=XF.Material.Forms" | |
10 | xmlns:extension="clr-namespace:Xamarin.Forms.Skeleton;assembly=Xamarin.Forms.Skeleton" | |
11 | x:Class="FiberStarMobileApp.Core.Pages.Attendance.ListDetailAttendPage" | |
12 | Title="Detail Attendance"> | |
13 | <views:MvxContentPage.Content> | |
14 | <ScrollView BackgroundColor="White"> | |
15 | <StackLayout | |
16 | Margin="15" | |
17 | extension:Skeleton.IsParent="True" | |
18 | extension:Skeleton.IsBusy="{Binding IsLoadBusy}" | |
19 | extension:Skeleton.BackgroundColor="{StaticResource GrayColor}" | |
20 | extension:Skeleton.Animation="Fade" | |
21 | extension:Skeleton.AnimationInterval="600"> | |
22 | <Image | |
23 | x:Name="ImgSelfie" | |
24 | HeightRequest="200" WidthRequest="200" BackgroundColor="White" | |
25 | - | mvx:Bi.nd="Source ImgSelfieDetail" |
25 | + | Source="selfie" |
26 | extension:Skeleton.IsBusy="{Binding IsLoadBusy}" | |
27 | extension:Skeleton.Animation="Fade" | |
28 | extension:Skeleton.BackgroundColor="{StaticResource DarkGrayColor}"/> | |
29 | <Label Text="Location :" FontAttributes="Bold"/> | |
30 | <Editor | |
31 | Text="{Binding Attend.AddressDetail}" x:Name="EdtLocation" IsEnabled="False" AutoSize="TextChanges" | |
32 | extension:Skeleton.IsBusy="{Binding IsLoadBusy}" | |
33 | extension:Skeleton.Animation="Fade" | |
34 | extension:Skeleton.BackgroundColor="{StaticResource DarkGrayColor}"/> | |
35 | ||
36 | <Label Text="Time :" FontAttributes="Bold"/> | |
37 | <Entry | |
38 | Text="{Binding Attend.Created}" x:Name="EntTime" IsEnabled="False" | |
39 | extension:Skeleton.IsBusy="{Binding IsLoadBusy}" | |
40 | extension:Skeleton.Animation="Fade" | |
41 | extension:Skeleton.BackgroundColor="{StaticResource DarkGrayColor}" /> | |
42 | ||
43 | <Label Text="Action :" FontAttributes="Bold"/> | |
44 | <Label | |
45 | Text="{Binding Attend.Activity}" x:Name="LblAction" FontSize="Medium" TextColor="Black" | |
46 | extension:Skeleton.IsBusy="{Binding IsLoadBusy}" | |
47 | extension:Skeleton.Animation="Fade" | |
48 | extension:Skeleton.BackgroundColor="{StaticResource DarkGrayColor}"/> | |
49 | ||
50 | <Label Text="Noted :" FontAttributes="Bold"/> | |
51 | <Editor | |
52 | Text="{Binding Attend.Note}" x:Name="EntNote" IsEnabled="False" AutoSize="TextChanges" | |
53 | extension:Skeleton.IsBusy="{Binding IsLoadBusy}" | |
54 | extension:Skeleton.Animation="Fade" | |
55 | extension:Skeleton.BackgroundColor="{StaticResource DarkGrayColor}"/> | |
56 | ||
57 | <StackLayout VerticalOptions="EndAndExpand"> | |
58 | <Grid> | |
59 | <Grid.ColumnDefinitions> | |
60 | <ColumnDefinition Width="*"/> | |
61 | </Grid.ColumnDefinitions> | |
62 | <material:MaterialButton | |
63 | mvx:Bi.nd="Command OnCancelButtonCommand" Text="Confirm" | |
64 | ButtonType="Outlined" BorderColor="Black" BackgroundColor="White" | |
65 | TextColor="Black" PressedBackgroundColor="Gray" BorderWidth="2" WidthRequest="25" Padding="15"/> | |
66 | </Grid> | |
67 | </StackLayout> | |
68 | </StackLayout> | |
69 | </ScrollView> | |
70 | </views:MvxContentPage.Content> | |
71 | </views:MvxContentPage> |