[英]How to achieve specific layout in Xamarin.Forms for android / ios
I would like to add multiple labels to the page and have them placed one after another. 我想在页面上添加多个标签,并将它们一个接一个地放置。 When they reach the end of the screen i want them to move to the next line and so forth.
当它们到达屏幕末端时,我希望它们移至下一行,依此类推。
Here is an example of what I am looking to do from the Next Door android app. 这是我要在Next Door android应用程序中执行的操作的示例。 Notice the stacking categories in blue.
注意蓝色的堆叠类别。
What layout should be used and options / or method? 应该使用哪种布局以及选项/方法? I tried stacklayout but it doesnt work like that.
我尝试了stacklayout,但它不能那样工作。
XLabs具有WrapLayout类,该类应该执行您想要的操作。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.