.net

.net

博客园 首页 新随笔 联系 订阅 管理

2014年7月13日 #

摘要: 下面的代码不显示:TableRow lay = new TableRow(layIndex.getContext()); lay.setLayoutParams(lpRow); //layIndex.addView(lay, new TableLayout.LayoutParams(Tabl... 阅读全文
posted @ 2014-07-13 09:39 航宇 阅读(1760) 评论(0) 推荐(0) 编辑

摘要: TableLayout 里的TextView等组的LayoutParams参数不能是LinearLayout.LayoutParams这样来定义,只能是用TableRow.LayoutParams代码如下: TableLayout.LayoutParams lpRow = new TableLayo... 阅读全文
posted @ 2014-07-13 09:22 航宇 阅读(1280) 评论(0) 推荐(0) 编辑