Xamarin形式:滚动视图,底部xaml上固定有按钮

Tom*_*Tom 2 xaml xamarin xamarin.forms

我是xamarin表单和xaml的新手,我想尝试在xaml中重现此布局 YPlan应用

带有图像的可滚动视图,然后是描述和固定在底部的按钮(不随视图滚动)

如何以xamarin形式实现此布局?我必须使用StackLayout还是Grid?

谢谢

Kyl*_*yle 6

这应该做。一个堆栈布局,其中包含可滚动内容的滚动视图,然后在水平堆栈布局内的其下方的两个按钮。

<stacklayout>

     <scrollview>
     </scrollview>

     <stacklayout orientation=horizontal>
            <share button>   <get tickets button>
     </stacklayout>

</stacklayout>
Run Code Online (Sandbox Code Playgroud)