야쿠야 님이 예전에 질문하실 내용을 링크하겠습니다.
이 분이 올리신 그림처럼 저도 구현하고 싶습니다.

http://www.androidpub.com/?mid=android_dev_qna&search_target=user_id&search_keyword=esayo&document_srl=753241

현재 저는 3개의 탭이 있습니다.
각각의 탭은 서로 다른 엑티비티를 인텐드를 사용해서 불러와 DB에 있는 데이터를 리스트뷰로 뿌려주고 있습니다.


제가 구현하고 싶은 것은
야쿠야님이 만드신 것처럼 각각에 Tab 아래 Spinner 하나를 추가하고 싶습니다.

처음 생각할 때는

불러오는 엑티비티의 main.xml에 스피너를 추가하면 될꺼라 생각했는데...
그게 생각 같이 되지 않습니다.

제가 잘 못 생각하는 건가요??? 방법을 좀 알려주세요.

다음과 main.xml과 스피너 추가하면...스피너만 출력되고...데이터가 출력이 안됩니다.
그래서 추가한 스피너를 삭제하면 데이터가 잘 나오고...

무엇이 문제인지 너무 답답합니다.

 <?xml version="1.0" encoding="utf-8"?>

<LinearLayout  xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent">

    
    <Spinner 
         android:id="@+id/SpinnerCategory_oneTab"
         android:prompt="@string/spin_prompt_oneTab"
         android:entries="@array/category" 
         android:layout_width="fill_parent"
         android:layout_height="wrap_content"/>

      <LinearLayout 
        android:layout_width="fill_parent" 
        android:layout_height="wrap_content">    

        <ListView android:id="@android:id/list"
            android:choiceMode="singleChoice"
            android:layout_width="fill_parent" 
            android:layout_height="wrap_content"
            android:drawSelectorOnTop="false"/>

        <TextView android:id="@+id/empty"
            android:text="데이터가 없습니다! 새 카드를 등록하시려면 메뉴 버튼을 누르세요."
            android:layout_width="wrap_content" 
            android:layout_height="wrap_content"/>
      </LinearLayout>          

     
</LinearLayout>