지금 하려고 하는건 데이터 건수 만큼 화면에 특정위치에 view를 추가하려는겁니다.
메인레이아웃에서 중간에 layoutType1 라는 아이디 항목 아래로 넣을려고합니다.
레이아웃.xml
....
<LinearLayout
android:orientation="vertical" 
android:id="@+id/layoutType1"
android:layout_width="fill_parent"
android:layout_height="wrap_content">
   />
</LinearLayout>
.....

문제는 넣는 항목이 버튼이나 이런게 아니라
아래와 같이 별도의 레이아웃 xml에 값을 항목마다 셋팅해서 위에 append하고 싶은데요

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingLeft="20px"
>
<ImageView
android:id="@+id/news_check"
android:layout_width="wrap_content"
android:layout_height="wrap_content" 
android:src="@drawable/news_check"
android:layout_margin="1px"
/>
<TextView  
android:id="@+id/news_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toRightOf="@id/news_check"
android:layout_alignBaseline="@id/news_check"
   />
<TextView  
android:id="@+id/news_date"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/news_title"
android:layout_alignLeft="@id/news_title"
   />
</RelativeLayout>



자바파일에서 이렇게 처리했습니다.
물론 잘못했으니깐 아되겠지만 제가 한 코드는 이렇습니다.

LayoutInflater inflater = null;
LinearLayout layout1 = null;
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
layout1 = (LinearLayout) findViewById(R.id.layoutType1);
inflater = (LayoutInflater)this.getSystemService(LAYOUT_INFLATER_SERVICE);
}
    //이부분에서 핸들러에서 데이터가 다 로드되고나면 화면에 뿌리고 싶었습니다.
    Handler mHandler = new Handler(){
     public void handleMessage(Message msg){
     if(msg.what==0){  
     layoutItem = inflater.inflate(R.layout.tab_news_item,null);
     for(int i=0;i<data.length;i++){//data는 단순히 get,set있는 배열로 옵니다.

     ImageView img = (ImageView)layoutItem.findViewById(R.id.news_check);
     TextView title = (TextView) layoutItem.findViewById(R.id.news_title);
     TextView date = (TextView) layoutItem.findViewById(R.id.news_date);
     title.setId(0x8000+i);
     title.setText(data[i].getTitle());
    
     date.setId(0x9000+i);
     date.setText(data[i].getDate());
    
     img.setId(0x7000+i);
    
     layout1.addView(layoutItem);
            
     }//end for
     }
     }
    };


위에처럼 추가 했더니만 
01-16 05:53:05.518: ERROR/AndroidRuntime(3421): java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.
이런 메세지를 만났습니다.

View ,ViewGroup에 대해 정확히 인지 하지 못해서인지..
layout을 만들고 addView를 해서 추가할려고했더니 생각같은 답이 나오질 안네요.

그리고 좀더 궁금한건 별도의 xml로 추가할할때 id값이 중첩될거 같아서
title.setId(0x8000+i);
date.setId(0x9000+i);
img.setId(0x7000+i);
이런 코드를 추가했는데 .. 아이디값이 중첩되는현상에 위처럼 하는것이 맞는건지요....
ListView를 custom하게 쓰기만하다 화면에 부분부분 개별로 넣을려고하니깐 매우 난해하고 어렵네요.
도움좀 부탁드립니다.