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

Absolute layout Scroll view Does not working

$
0
0

I have an absolute layout I cannot Change the layout Because of I fixed a Floating action button with an Absolute layout. the page should be scrollable one. but its scrollable function does not work.

my XAML Code

<views:BaseContentPage.Content>
<controls:PullToRefreshLayout x:Name="PullToRefreshLayout" IsPullToRefreshEnabled="True" RefreshCommand="RefreshPatientDetailsPage">

    <AbsoluteLayout >
        <StackLayout>
            <StackLayout.GestureRecognizers>
                <TapGestureRecognizer Command="{Binding Source={x:Reference FlotingNavigationMenu},Path=TapCommand}"/>
            </StackLayout.GestureRecognizers>
            <ActivityIndicator Style="{StaticResource ActivityIndicator}" IsVisible="False"></ActivityIndicator>
        <Scroll View>
            <TableView x:Name="ClinicleTableView" HasUnevenRows="True" 
                   IsEnabled="{Binding Source={x:Reference FlotingNavigationMenu}, Path=PageEnable}"
                   Opacity="{Binding Source={x:Reference FlotingNavigationMenu},Path=Opacity}"   >

                <TableRoot>
                    <TableSection>
                       <!-- some content-->
                    </TableSection>
                </TableRoot>
            </TableView>
        </Scroll View>
        </StackLayout>

        <views:FlotingNavigationMenu  AbsoluteLayout.LayoutBounds="1,1,-1,-1" AbsoluteLayout.LayoutFlags="PositionProportional"  x:Name="FlotingNavigationMenu"  ></views:FlotingNavigationMenu>
    </AbsoluteLayout>
</controls:PullToRefreshLayout>

I tried these things

               <ScrollView AbsoluteLayout.LayoutBounds="0,0,1,1" AbsoluteLayout.LayoutFlags="All"> 

this did not work and I also set a Height to absolute layout it does not work also. how to make this page scrollable without changing the layout.

I want to scroll the TableView


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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