gpt4 book ai didi

xaml - Xamarin 表格 : scrollview with button fixed on bottom xaml

转载 作者:行者123 更新时间:2023-12-01 05:42:46 26 4
gpt4 key购买 nike

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

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

我怎样才能在 xamarin 表单中实现这种布局?我必须使用 StackLayout 还是 Grid?

谢谢

最佳答案

这应该可以做到。堆栈布局,其中包含可滚动内容的 ScrollView ,然后是水平堆栈布局内位于其下方的两个按钮。

<stacklayout>

<scrollview>
</scrollview>

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

</stacklayout>

关于xaml - Xamarin 表格 : scrollview with button fixed on bottom xaml,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42700721/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com