|
14 | 14 | </ContentPage.Resources> |
15 | 15 | <Grid Margin="16" RowDefinitions="Auto, *"> |
16 | 16 | <Frame> |
17 | | - <Grid ColumnDefinitions="*, Auto"> |
18 | | - <StackLayout> |
19 | | - <Label Text="{Binding ServerIPAddress, StringFormat='ANT Radio Server - {0}'}"/> |
20 | | - <BoxView BackgroundColor="Black" HeightRequest="2" HorizontalOptions="Fill"/> |
21 | | - <Label Text="{Binding ProductDescription, StringFormat='Description - {0}'}"/> |
22 | | - <Label Text="{Binding SerialString, StringFormat='Serial Number - {0}'}"/> |
23 | | - <Label Text="{Binding HostVersion, StringFormat='Host Version - {0}'}"/> |
24 | | - </StackLayout> |
25 | | - <ImageButton Source="more_arrow.png" Aspect="AspectFill" Background="Transparent" Grid.Column="2" HeightRequest="40" WidthRequest="40" Command="{Binding ShowRadioCapabilitiesCommand}"/> |
26 | | - </Grid> |
| 17 | + <StackLayout> |
| 18 | + <Label Text="{Binding ServerIPAddress, StringFormat='ANT Radio Server - {0}'}"/> |
| 19 | + <BoxView BackgroundColor="Black" HeightRequest="2" HorizontalOptions="Fill" Margin="0,0,0,4"/> |
| 20 | + <Grid Padding="8" ColumnDefinitions="*, Auto"> |
| 21 | + <StackLayout> |
| 22 | + <Label Text="{Binding ProductDescription, StringFormat='Description - {0}'}"/> |
| 23 | + <Label Text="{Binding SerialString, StringFormat='Serial Number - {0}'}"/> |
| 24 | + <Label Text="{Binding HostVersion, StringFormat='Host Version - {0}'}"/> |
| 25 | + </StackLayout> |
| 26 | + <ImageButton Source="more_arrow.png" Aspect="AspectFill" Background="Transparent" Grid.Column="1" HeightRequest="32" WidthRequest="32" Command="{Binding ShowRadioCapabilitiesCommand}"/> |
| 27 | + </Grid> |
| 28 | + </StackLayout> |
27 | 29 | </Frame> |
28 | 30 | <Frame Grid.Row="1"> |
29 | 31 | <StackLayout> |
|
32 | 34 | <CollectionView x:Name="antDevices" ItemsSource="{Binding AntDevices}" SelectionMode="Single" VerticalOptions="StartAndExpand"> |
33 | 35 | <CollectionView.ItemTemplate> |
34 | 36 | <DataTemplate x:DataType="ant:AntDevice"> |
35 | | - <Grid Padding="10" RowDefinitions="Auto, Auto" ColumnDefinitions="Auto, *, Auto"> |
| 37 | + <Grid Padding="8" RowDefinitions="Auto, Auto" ColumnDefinitions="Auto, *, Auto"> |
36 | 38 | <Image Margin="0,0,10,0" Grid.RowSpan="2" Source="{Binding ., Converter={StaticResource StreamToImage}}" Aspect="AspectFill" HeightRequest="40" WidthRequest="40"/> |
37 | 39 | <Label Grid.Column="1" Text="{Binding .}"/> |
38 | 40 | <Label Grid.Column="1" Grid.Row="1" Text="{Binding Path=ChannelId.DeviceNumber, StringFormat='Device Number - {0}'}"/> |
39 | | - <ImageButton Source="more_arrow.png" Aspect="AspectFill" Background="Transparent" Grid.Column="2" Grid.RowSpan="2" HeightRequest="40" WidthRequest="40" Command="{Binding Path=ShowDetailsCommand, Source={x:RelativeSource AncestorType={x:Type viewmodels:HomePageViewModel}}}" CommandParameter="{Binding}"/> |
| 41 | + <ImageButton Source="more_arrow.png" Aspect="AspectFill" Background="Transparent" Grid.Column="2" Grid.RowSpan="2" HeightRequest="32" WidthRequest="32" Command="{Binding Path=ShowDetailsCommand, Source={x:RelativeSource AncestorType={x:Type viewmodels:HomePageViewModel}}}" CommandParameter="{Binding}"/> |
40 | 42 | </Grid> |
41 | 43 | </DataTemplate> |
42 | 44 | </CollectionView.ItemTemplate> |
|
0 commit comments