디비내용을 cursor로 받아와 ListView에 뿌려주고 있습니다.

디비 내용은 문제없이 뿌려주는데까지는 완성하였습니다.


이 각 row 마다 TextView를 넣어주려고 합니다...



SimpleAdapter sap = new SimpleAdapter(this, list,

android.R.layout.simple_list_item_1, new String[] { "name", "code" }, new int[] { android.R.id.text1,android.R.id.text2 });


lv = (ListView) findViewById(R.id.tab2_lView);

tv1 = (TextView) findViewById(R.id.tab2_text1);

tv1.setText("test1");

lv.addView(tv1);

lv.setAdapter(sap);


위와같이 기존 setAdapter 위에 addView 부분을 추가했더니 아래와 같은 오류가 발생하였습니다

05-24 08:49:06.440: ERROR/AndroidRuntime(1142): Caused by: java.lang.UnsupportedOperationException: addView(View, LayoutParams) is not supported in AdapterView


아래는 XML 부분입니다

<ListView android:id="@+id/tab2_lView" android:layout_width="fill_parent" android:layout_height="fill_parent" >
<TextView android:id="@+id/tab2_text1" android:layout_width="wrap_content" android:layout_height="wrap_content"/>
</ListView>

어찌해야 adapter와 addview를 같이 사용할 수 있을까요?
아니면 다른방법이 있을지 여쭈어봅니다