DigitalFormHost.xaml 1.5 KB

1234567891011121314151617181920212223242526272829
  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <timesheets:BasePage xmlns:timesheets="clr-namespace:comal.timesheets"
  3. xmlns="http://xamarin.com/schemas/2014/forms"
  4. xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
  5. x:Class="comal.timesheets.DigitalFormHost">
  6. <timesheets:BasePage.ActionButtons>
  7. <ImageButton x:Name="_saveProgress" Source="floppydisk" Clicked="SaveProgressBtn_Clicked" />
  8. <ImageButton x:Name="_saveComplete" Source="tick" Clicked="SaveBtn_Clicked"/>
  9. </timesheets:BasePage.ActionButtons>
  10. <timesheets:BasePage.PageContent>
  11. <Grid>
  12. <Grid.RowDefinitions>
  13. <!-- <RowDefinition Height="auto"/> -->
  14. <RowDefinition Height="auto"/>
  15. </Grid.RowDefinitions>
  16. <!-- <Label x:Name="titleLbl" Grid.Row="0" Margin="5" FontAttributes="Bold" FontSize="Medium" HorizontalTextAlignment="Center" HorizontalOptions="FillAndExpand"/> -->
  17. <!--scrollview to display form-->
  18. <ScrollView x:Name="formViewerScroller" Grid.Row="0" Margin="5" Padding="5"/>
  19. <Button Grid.Row="2" Margin="0" TextColor="White" BackgroundColor="#15C7C1" CornerRadius="0" IsVisible="false" FontSize="Medium" HeightRequest="45"
  20. Text="View Attached Document" FontAttributes="Bold" HorizontalOptions="FillAndExpand" VerticalOptions="End"
  21. Clicked="DocumentBtn_Clicked" x:Name="documentBtn"/>
  22. </Grid>
  23. </timesheets:BasePage.PageContent>
  24. </timesheets:BasePage>