我在下面的链接中阅读了有关 Xamarin 的 Zebble 中的堆栈和网格
http://zebble.net/docs/gridltttemplate-tdatagt-class
之后,我尝试为 Zebble 创建 Metro UI,但我不知道如何创建不同大小的网格或堆栈,如 Windows 手机主菜单,我在下面提供了一个屏幕截图。
然后我尝试使用网格元素创建一些内容,以在下面的代码中显示具有某些背景的文本表格,例如 Metro UI
<Grid Columns="2">
<z-Component z-type="Cell" z-base="GridCell[Stack]">
<TextView Text="One" Style.BackgroundColor="#cccccc"></TextView>
<TextView Text="Two" Style.BackgroundColor="#ccffee"></TextView>
<TextView Text="Three" Style.BackgroundColor="#ffcccc"></TextView>
<TextView Text="Four" Style.BackgroundColor="#ccccff"></TextView>
</z-Component>
</Grid>
但是,我的页面上没有任何变化