摘要: TableLayout表格布局,将子元素的位置分配到行或列中。TableLayout布局由许多的TableRow(行) 组成,它没有列的概念,列是由行中的控件数目决定的。TableLayout布局也是实际中常用的布局方式。TableLayout布局不会显示行、列 、单元格的边框线。TableLayout布局应用如图7-17所示。 图7-17 TableLayout1TableLayout布局文件请参考代码清单7-20,完整代码请参考chapter7_5工程中tablelayout1.xml代码部分(chapter7_5/res/layout/tablelayout1.xml)。【代码清单7-2 阅读全文
posted @ 2011-07-20 10:17 516inc 阅读(201) 评论(0) 推荐(0) 编辑