반응형 Andoird1 안드로이드 : 동적 TableRow & Border Style 주기 동적인 TableRow 생성 하는 예제입니다 앞 포스트에서 http://blog.stylingandroid.com/archives/420 링크를 걸어 드렸는데 여기서 사용하는건 drawable 에 등록한 border.xml 파일과 values 에 등록한 dimensions.xml 파일이 있어야 가능한 방법입니다. public void appendRow(String[] strarray){ TableLayout tb = (TableLayout)findViewById(R.id.fav_table); tb.removeAllViewsInLayout(); TextView[] tv = new TextView[strarray.length]; for(int i=1;i 2011. 12. 8. 이전 1 다음 반응형