2010년 11월 24일 수요일

TableLayout에 동적으로 TableRow추가하기.

new TableRow(Context)로 생성해서

TableLayout에 addView하면되는데

setLayoutParameter를 할때

TableLayout.LayoutParameter를 쓰면안나오고

TableRow.LayoutParameter를 사용해야 정상적으로 화면에 표시된다..

으..삽질!