111.PNG 
그림 보시면 카테고리 버튼을 누르면

메인레이아웃에 지정된 레이아웃으로

뷰클래스를 불러오고 싶은데요

어떻게 구성해야 할까요?

main.xml

<LinearLayout
  android:id="@+id/LinearLayout01"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent">  
  <ListView
   android:id="@+id/ListView_Sample1"
   android:orientation="horizontal"
   android:layout_alignWithParentIfMissing="true"
   android:dividerHeight="0.1dip"
   android:visibility="visible"
   android:layout_width="fill_parent"
   android:layout_height="fill_parent">
  </ListView>
  <com.ii.ok.Home
   android:id="@+id/mainView"
   android:layout_width="fill_parent"
      android:layout_height="fill_parent"
  />
 </LinearLayout>

아 참고로 불러오는 뷰는 그리드뷰입니다
  뭐가 잘못됐을까요?