零基础学鸿蒙编程-UI控件_TableLayout
原创
什么是TableLayoutTableLayout又称表格布局,用于以表格形式展示内容.1.样例:22表格效果图代码xml2.样例:33表格效果图代码xml完整源代码https:gitee.comhspbcharmonyosdemostreemastertableLayoutDemo常用属性说明属性名用途ohos:width设置控件宽度,可设置为:matchparent(和父控件一样),matchcontent(按照内容自动伸缩),设置固定值(如200vp)ohos:height设置控件高度,可设置为:matchparent(和父控件一样),matchcontent(按照内容...