[英]Xamarin Forms: scrollview with button fixed on bottom xaml
这应该做。 堆栈布局,其中包含可滚动内容的滚动视图,然后是水平堆栈布局内位于其下方的两个按钮。
<stacklayout>
<scrollview>
</scrollview>
<stacklayout orientation=horizontal>
<share button> <get tickets button>
</stacklayout>
</stacklayout>
我认为StackLayout是一个不错的选择。 您应该拥有一个包含ScrollView(包含用于图像和标签的StackLayout)的StackLayout,以及用于“共享”和“获取票证”按钮(或这些按钮的网格)的StackLayout(方向=水平)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.