1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <?xml version="1.0" encoding="utf-8" ?>
- <ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
- xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
- x:Class="comal.timesheets.DigitalFormHost">
- <NavigationPage.TitleView >
- <Grid Margin="0" Padding="0">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="Auto"/>
- <ColumnDefinition Width="*"/>
- <ColumnDefinition Width="Auto"/>
- <!-- <ColumnDefinition Width="Auto"/> -->
- </Grid.ColumnDefinitions>
- <Button Grid.Column="0" HorizontalOptions="Start" VerticalOptions="Center" TextColor="White" BackgroundColor="Transparent" Margin="0" Padding="0"
- Text="Cancel" Clicked="ExitBtn_Clicked"/>
- <Label x:Name="titleLbl" Grid.Column="1" Text="Edit Form" HorizontalOptions="Fill" HorizontalTextAlignment="Center" VerticalOptions="Fill" VerticalTextAlignment="Center" TextColor="White"/>
- <Button x:Name="saveProgressBtn" Grid.Column="2" HorizontalOptions="Center" VerticalOptions="Center" TextColor="White" BackgroundColor="Transparent" Margin="0" Padding="0"
- Text="Save Progress" Clicked="SaveProgressBtn_Clicked" FontAttributes="Bold" IsVisible="true"/>
- <Button Grid.Column="2" HorizontalOptions="End" VerticalOptions="Center" TextColor="White" BackgroundColor="Transparent" Margin="0" Padding="0"
- x:Name="saveBtn"
- Text="Complete" Clicked="SaveBtn_Clicked"/>
- </Grid>
- </NavigationPage.TitleView>
- <ContentPage.Content>
- <Grid>
- <Grid.RowDefinitions>
- <!-- <RowDefinition Height="auto"/> -->
- <RowDefinition Height="auto"/>
- </Grid.RowDefinitions>
- <!-- <Label x:Name="titleLbl" Grid.Row="0" Margin="5" FontAttributes="Bold" FontSize="Medium" HorizontalTextAlignment="Center" HorizontalOptions="FillAndExpand"/> -->
- <!--scrollview to display form-->
- <ScrollView x:Name="formViewerScroller" Grid.Row="0" Margin="5" Padding="5"/>
- <Button Grid.Row="2" Margin="0" TextColor="White" BackgroundColor="#15C7C1" CornerRadius="0" IsVisible="false" FontSize="Medium" HeightRequest="45"
- Text="View Attached Document" FontAttributes="Bold" HorizontalOptions="FillAndExpand" VerticalOptions="End"
- Clicked="DocumentBtn_Clicked" x:Name="documentBtn"/>
- </Grid>
- </ContentPage.Content>
- </ContentPage>
|