2010년 7월 5일 월요일

LinearLayout에 커스토머 뷰를 추가

* LinearLayout에 커스토머 뷰를 추가

LayoutInflater mInflater = (LayoutInflater) mContext.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
Hello hello_layout= new Hello( mContext, mInflater, number_list,number_list.getChildCount(), numbering_count);
main_layout.addView(hello_layout.hello_infomation);

- main_layout이라고 선언한 LinearLayout에 new Hello 로 생성한 레이아아웃을 add 한다.

댓글 없음: