123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <?xml version="1.0" encoding="UTF-8" ?>
- <timesheets:BasePage
- xmlns="http://xamarin.com/schemas/2014/forms"
- xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
- xmlns:material="clr-namespace:XF.Material.Forms.UI;assembly=XF.Material"
- xmlns:timesheets="clr-namespace:comal.timesheets"
- material:MaterialNavigationPage.AppBarTitleTextFontSize="16.0"
-
- x:Class="comal.timesheets.GenericSelectionPage">
- <timesheets:BasePage.PageContent>
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*"/>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="*"/>
- </Grid.RowDefinitions>
- <material:MaterialTextField Grid.Row="0" Grid.Column="0" Margin="10,10,10,0" Placeholder="Search" HorizontalOptions="Fill" TextChanged="MaterialTextField_TextChanged"/>
- <Frame BorderColor="Gray" Grid.Row="1" Grid.Column="0" CornerRadius="0" HasShadow="false" BackgroundColor="WhiteSmoke" Padding="0" VerticalOptions="FillAndExpand" Margin="10">
- <ListView x:Name="Items" VerticalOptions="FillAndExpand" Margin="1" ItemSelected="Item_Selected" HasUnevenRows="True" BackgroundColor="WhiteSmoke">
- <ListView.ItemTemplate>
- <DataTemplate>
- <ViewCell>
- <Grid BackgroundColor="WhiteSmoke" >
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*" />
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto"/>
- </Grid.RowDefinitions>
- <Label Text="{Binding Key}" Grid.Column="0" Padding="10" VerticalTextAlignment="Center" Margin="5" HorizontalTextAlignment="Center" TextColor="Black"/>
- </Grid>
- </ViewCell>
- </DataTemplate>
- </ListView.ItemTemplate>
- </ListView>
- </Frame>
- </Grid>
- </timesheets:BasePage.PageContent>
- </timesheets:BasePage>
|