|
@@ -3,75 +3,75 @@
|
|
|
x:Name="_basepage"
|
|
|
NavigationPage.HasNavigationBar="false"
|
|
|
NavigationPage.HasBackButton="false"
|
|
|
- xmlns:ios="clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core"
|
|
|
- ios:Page.UseSafeArea="true"
|
|
|
+ xmlns:iOS="clr-namespace:Xamarin.Forms.PlatformConfiguration.iOSSpecific;assembly=Xamarin.Forms.Core"
|
|
|
+ iOS:Page.UseSafeArea="true"
|
|
|
xmlns="http://xamarin.com/schemas/2014/forms"
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
|
xmlns:ui="clr-namespace:XF.Material.Forms.UI;assembly=XF.Material"
|
|
|
x:Class="PRS.Mobile.BasePage" >
|
|
|
-
|
|
|
- <Grid
|
|
|
- x:Name="_rootGrid"
|
|
|
- RowSpacing="0"
|
|
|
- ColumnSpacing="0"
|
|
|
- VerticalOptions="FillAndExpand"
|
|
|
- HorizontalOptions="FillAndExpand">
|
|
|
-
|
|
|
- <Grid.RowDefinitions>
|
|
|
- <RowDefinition Height="48" />
|
|
|
- <RowDefinition Height="*" />
|
|
|
- </Grid.RowDefinitions>
|
|
|
-
|
|
|
<Grid
|
|
|
- x:Name="_titleBar"
|
|
|
- Grid.Row="0"
|
|
|
- Padding="5,0,5,0">
|
|
|
-
|
|
|
- <Grid.ColumnDefinitions>
|
|
|
- <ColumnDefinition Width="Auto" />
|
|
|
- <ColumnDefinition Width="*" />
|
|
|
- <ColumnDefinition Width="Auto" />
|
|
|
- <ColumnDefinition Width="Auto" />
|
|
|
- </Grid.ColumnDefinitions>
|
|
|
-
|
|
|
- <ImageButton
|
|
|
- Grid.Column="0"
|
|
|
- x:Name="_backButton"
|
|
|
- Aspect="AspectFit"
|
|
|
- Source="arrow_white_left"
|
|
|
- Clicked="_backButton_OnClicked"/>
|
|
|
-
|
|
|
- <ui:MaterialLabel
|
|
|
- x:Name="_titleLabel"
|
|
|
- Grid.Column="1"
|
|
|
- Text="{Binding Title, Source={x:Reference _basepage}}"
|
|
|
- TypeScale="H6"
|
|
|
- VerticalTextAlignment="Center"
|
|
|
- HorizontalTextAlignment="Start"
|
|
|
- LineBreakMode="TailTruncation"/>
|
|
|
+ x:Name="_rootGrid"
|
|
|
+ RowSpacing="0"
|
|
|
+ ColumnSpacing="0"
|
|
|
+ VerticalOptions="FillAndExpand"
|
|
|
+ HorizontalOptions="FillAndExpand">
|
|
|
|
|
|
- <Image
|
|
|
- x:Name="_connectionIndicator"
|
|
|
- Grid.Column="2"
|
|
|
- Source="disconnected"
|
|
|
- IsVisible="False"/>
|
|
|
+ <Grid.RowDefinitions>
|
|
|
+ <RowDefinition Height="48" />
|
|
|
+ <RowDefinition Height="*" />
|
|
|
+ </Grid.RowDefinitions>
|
|
|
|
|
|
- <StackLayout
|
|
|
- x:Name="_actionButtons"
|
|
|
- Grid.Column="3"
|
|
|
- Orientation="Horizontal"
|
|
|
- HorizontalOptions="EndAndExpand" />
|
|
|
-
|
|
|
- </Grid>
|
|
|
-
|
|
|
- <Grid
|
|
|
- x:Name="_content"
|
|
|
- Grid.Row="1"
|
|
|
- RowSpacing="0"
|
|
|
- ColumnSpacing="0"
|
|
|
- Padding="0"
|
|
|
- Margin="0"/>
|
|
|
+ <Grid
|
|
|
+ x:Name="_titleBar"
|
|
|
+ Grid.Row="0"
|
|
|
+ Padding="5,0,5,0">
|
|
|
+
|
|
|
+ <Grid.ColumnDefinitions>
|
|
|
+ <ColumnDefinition Width="Auto" />
|
|
|
+ <ColumnDefinition Width="*" />
|
|
|
+ <ColumnDefinition Width="Auto" />
|
|
|
+ <ColumnDefinition Width="Auto" />
|
|
|
+ </Grid.ColumnDefinitions>
|
|
|
+
|
|
|
+ <ImageButton
|
|
|
+ Grid.Column="0"
|
|
|
+ x:Name="_backButton"
|
|
|
+ Aspect="AspectFit"
|
|
|
+ Source="arrow_white_left"
|
|
|
+ Clicked="_backButton_OnClicked"/>
|
|
|
+
|
|
|
+ <ui:MaterialLabel
|
|
|
+ x:Name="_titleLabel"
|
|
|
+ Grid.Column="1"
|
|
|
+ Text="{Binding Title, Source={x:Reference _basepage}}"
|
|
|
+ TypeScale="H6"
|
|
|
+ VerticalTextAlignment="Center"
|
|
|
+ HorizontalTextAlignment="Start"
|
|
|
+ LineBreakMode="TailTruncation"/>
|
|
|
+
|
|
|
+ <Image
|
|
|
+ x:Name="_connectionIndicator"
|
|
|
+ Grid.Column="2"
|
|
|
+ Source="disconnected"
|
|
|
+ IsVisible="False"/>
|
|
|
+
|
|
|
+ <StackLayout
|
|
|
+ x:Name="_actionButtons"
|
|
|
+ Grid.Column="3"
|
|
|
+ Orientation="Horizontal"
|
|
|
+ HorizontalOptions="EndAndExpand" />
|
|
|
+
|
|
|
+ </Grid>
|
|
|
+
|
|
|
+ <Grid
|
|
|
+ x:Name="_content"
|
|
|
+ Grid.Row="1"
|
|
|
+ RowSpacing="0"
|
|
|
+ ColumnSpacing="0"
|
|
|
+ Padding="0"
|
|
|
+ Margin="0"/>
|
|
|
+
|
|
|
+ </Grid>
|
|
|
|
|
|
- </Grid>
|
|
|
|
|
|
</ContentPage>
|