Forum Xamarin.Forms

Hello! How can I do hovering (floating) label at the top of the page in srolling listview?

botrubotru Member
edited June 2020 in Xamarin.Forms

I have scrolling groupped by date listview.
I need show hovering (floating) label with groupheader at the top of the page when scrolling items of listview, like in attached image.
Any ideas?

Thank you!

Best Answer

Answers

  • XamarinProblemsXamarinProblems Member ✭✭✭
    edited June 2020

    @botru Something like this?
    `

    <Grid ColumnSpacing="0" RowSpacing="0" Margin="0">
    
        <Grid.RowDefinitions>
    
            <RowDefinition Height="*" />
    
        </Grid.RowDefinitions>
    
        <Label Grid.row = "0" HorizontalOptions="Center" Text = "{Binding dateBinding}" />
    
        <Scrollview
            Grid.Row ="0">
            <!-- Content -->
        </Scrollview>
    </Grid>
    

    `

Sign In or Register to comment.