简体   繁体   中英

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. Notice the stacking categories in blue.

What layout should be used and options / or method? I tried stacklayout but it doesnt work like that.

堆叠按钮和标签的示例

XLabs具有WrapLayout类,该类应该执行您想要的操作。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM