ListView Height Issue

I have a XAML form for my menu. I cannot get the height of a listview smaller than what it looks like below. I have tried all of the suggestions on other forum questions but it still behaves this was on both Android and iOS (which makes me think there is a solution). Any help is appreciated.



  • Patil2421Patil2421 USMember ✭✭✭

    Wherever you've used VerticalOptions change it to Start and the set the RowDefinitions="Auto" where it is * right now.
    Give it a try, let me know if that doesn't work

  • KevinGossKevinGoss USMember ✭✭
    edited February 2017

    I tried what you suggested, but they still don't work.

  • KevinGossKevinGoss USMember ✭✭

    I managed to get a workaround by incrementing the height request as each item is rendered. It works fairly well on iOS and Android. We are not doing Windows Universal or phone.

    private void lstSearchesViewCell_BindingContextChanged(object sender, EventArgs e) {
    ViewCell obj = sender as ViewCell;
    if (obj == null)
    lstSearches.HeightRequest += obj.RenderHeight;

Sign In or Register to comment.