| 12345678910111213141516171819202122232425 |
- <?xml version="1.0" encoding="UTF-8"?>
- <ContentView xmlns="http://xamarin.com/schemas/2014/forms"
- xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
- x:Class="comal.timesheets.CustomPickeriOS">
- <ContentView.Content>
- <Grid>
- <Grid.RowDefinitions>
- <RowDefinition Height="50" x:Name="buttonRow"/>
- <RowDefinition Height="0" x:Name="listViewRow"/>
- </Grid.RowDefinitions>
- <Button Grid.Row="0" x:Name="selectBtn" Text="Select an Option" CornerRadius="10"
- Clicked="SelectBtn_Clicked" TextColor="White" BackgroundColor="#15C7C1" VerticalOptions="FillAndExpand"/>
- <ListView Grid.Row="1" x:Name="listView" HasUnevenRows="True" IsVisible="false">
- <ListView.ItemTemplate>
- <DataTemplate>
- <ViewCell Tapped="Cell_Tapped">
- <Label Text="{Binding OptionString}" HorizontalOptions="Center" VerticalOptions="Center" LineBreakMode="WordWrap"
- HorizontalTextAlignment="Center" FontSize="Medium"/>
- </ViewCell>
- </DataTemplate>
- </ListView.ItemTemplate>
- </ListView >
- </Grid>
- </ContentView.Content>
- </ContentView>
|