(밑의 소스는 Enter라는 탭에 버튼을 생성하여 enter탭을 누르면 버튼이 나오게 됩니다.)


현재 Tabhost를 사용하고 button을 추가하였습니다. 현재 main 소스는 다음과 같습니다.


<TabHost xmlns:android="http://schemas.android.com/apk/res/android"

    android:id="@android:id/tabhost"

    android:layout_width="match_parent"

    android:layout_height="match_parent" >


    <LinearLayout

        android:layout_width="match_parent"

        android:layout_height="match_parent"

        android:orientation="vertical" >


        <TabWidget

            android:id="@android:id/tabs"

            android:layout_width="match_parent"

            android:layout_height="wrap_content"

            android:background="#484848" >

        </TabWidget>


        <FrameLayout

            android:id="@android:id/tabcontent"

            android:layout_width="match_parent"

            android:layout_height="match_parent" >


            <LinearLayout

                android:id="@+id/Enter"

                android:layout_width="match_parent"

                android:layout_height="match_parent"

                android:background="#FFFFFF"

                android:orientation="vertical" >


                <Button

                    android:id="@+id/Button01"

                    android:layout_width="match_parent"

                    android:layout_height="wrap_content"

                    android:text="@string/s" />


이하 생략.


위와 같이 버튼을 생성하였으나 실행한 결과 AVD에서는 탭이 구현이 되었으나 버튼은 생성이 되지 않았습니다.


어떻게 해야 되나요?