mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-05-09 11:37:15 +02:00
51 lines
2 KiB
XML
51 lines
2 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
xmlns:resources="clr-namespace:TINK.MultilingualResources;assembly=TINKLib"
|
|
x:Class="TINK.View.MasterPage"
|
|
xmlns:local="clr-namespace:TINK.View"
|
|
Icon="Icon-Small@2x"
|
|
Title="TINK">
|
|
<StackLayout>
|
|
<ListView x:Name="MenuItemsListView"
|
|
SeparatorVisibility="None"
|
|
HasUnevenRows="true"
|
|
local:ListViewAttachedBehavior.Command="{Binding MenuItemSelected}"
|
|
SelectedItem="{Binding SelectedMenuItem}"
|
|
ItemsSource="{Binding MenuItems}">
|
|
<ListView.Header>
|
|
<Grid BackgroundColor="{DynamicResource Key=primary-back-title-color}">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="10"/>
|
|
<ColumnDefinition Width="*"/>
|
|
<ColumnDefinition Width="10"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="30"/>
|
|
<RowDefinition Height="80"/>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="10"/>
|
|
</Grid.RowDefinitions>
|
|
<Label
|
|
Grid.Column="1"
|
|
Grid.Row="2"
|
|
FontSize="Large"
|
|
Text="{Binding MasterDetailMenuTitlte}"
|
|
Style="{DynamicResource SubtitleStyle}"/>
|
|
</Grid>
|
|
</ListView.Header>
|
|
<ListView.ItemTemplate>
|
|
<DataTemplate>
|
|
<ViewCell>
|
|
<StackLayout Padding="15,10" HorizontalOptions="FillAndExpand">
|
|
<Label VerticalOptions="FillAndExpand"
|
|
VerticalTextAlignment="Center"
|
|
Text="{Binding Title}"
|
|
FontSize="24"/>
|
|
</StackLayout>
|
|
</ViewCell>
|
|
</DataTemplate>
|
|
</ListView.ItemTemplate>
|
|
</ListView>
|
|
</StackLayout>
|
|
</ContentPage> |