自定义分栏布局可以用于创建复杂的界面布局。@Entry @Component struct CustomSplitLayoutApp { build() { return ( <UI.Page> <UI.SplitContainer> <UI.SplitContainerPane> <UI.Label text="Pane 1 Content" /> </UI.SplitContainerPane> <UI.SplitContainerPane> <UI.Label text="Pane 2 Content" /> </UI.SplitContainerPane> </UI.SplitContainer> </UI.Page> ); } }本文参与了 【 HarmonyOS NEXT 技术问答冲榜,等你来战!】欢迎正在阅读的你也加入。
自定义分栏布局可以用于创建复杂的界面布局。
本文参与了 【 HarmonyOS NEXT 技术问答冲榜,等你来战!】欢迎正在阅读的你也加入。