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

Blank space after listview items.

$
0
0

Hi all,
My listview Bottom portion has some blank space, I tried to remove it by adding Footer and HasUnevenRows, but not get lucky.
Screenshot:

My code:

<ContentPage>
<ScrollView>
    <StackLayout  
       Orientation="Vertical">

       //Community frame
       <Frame/>

         <ListView x:Name="Mycommunities"
                   HasUnevenRows="True"
                   Margin="15,5,5,5">
                            <ListView.ItemTemplate>
                                <DataTemplate>
                                       <TextCell Text="{Binding communities}" />
                                </DataTemplate>
                              </ListView.ItemTemplate>
                            <ListView.Footer>
                                <Label/>
                           </ListView.Footer>
                 </ListView>

//Add community and log out frames
       <Frame/>
       <Frame/>

       </StackLayout>
    </ScrollView>
</ContentPage>

Please suggest any solution? Thanks in advance :)


Viewing all articles
Browse latest Browse all 89864

Trending Articles



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