Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Extra Space when i add ListView inside a Frame layout

$
0
0

I am not clear what am i missing.Extra space at the bottom of the list. please check the screenshot attached below.

<ContentPage.Content>



                <ListView ItemSelected="ListView_ItemSelected" VerticalOptions="Start" ItemsSource="{Binding RelayList}" SeparatorVisibility="Default" SeparatorColor="Gray" HasUnevenRows="True" >
                    <ListView.ItemTemplate>
                        <DataTemplate>
                            <ViewCell >
                                <Grid BackgroundColor="#E6E6E6" VerticalOptions="End">
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition Width="7*"/>
                                        <ColumnDefinition Width="3*"/>
                                    </Grid.ColumnDefinitions>

                                    <StackLayout Orientation="Vertical" Grid.Column="0" Padding="10,10,10,0" VerticalOptions="Start">

                                        <StackLayout Orientation="Horizontal">
                                            <Label Text="{Binding RelayName}" TextColor="Black" FontSize="Small" />
                                            <Label Text="{Binding RelayType}" TextColor="Black" FontSize="Small" />
                                        </StackLayout>

                                    </StackLayout>
                                    <Image Grid.Column="1" Source="nextbtn.png" HorizontalOptions="EndAndExpand" />


                                </Grid>
                            </ViewCell>
                        </DataTemplate>
                    </ListView.ItemTemplate>
                </ListView>
            </StackLayout>
        </Frame>
    </StackLayout>
</ContentPage.Content>

Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>