摘要: 1. 於是先定義最大的view,並設定為目前佈局:RelativeLayout r_layout = new RelativeLayout(this);setContentView(r_layout)2. 接著定義第二層的TableLayout,並加入到r_layout 裡:TableLayout tableLayout = new TableLayout(this);r_layout.addView(tableLayout, new RelativeLayout.LayoutParams(WC, WC));3. 再定義第三層的TableRow,並加入到tableLayout 裡:TableR 阅读全文
posted @ 2010-09-01 15:10 杨超路飞 阅读(250) 评论(0) 推荐(0) 编辑