0
Android 4.x에서 TabHost를 사용하는 테스트 앱이 있습니다. TABS가 제목 뒤에 숨겨져 있다는 점을 제외하고는 제대로 작동합니다 (자동 숨김). 자동 숨기기를 활성화하면 제목이 숨겨져 있고 TABS에 직접 액세스 할 수 있다고해도 ... 탭을 클릭하면 제목 표시 줄이 TABS를 겹쳐 쓰고 나를 막아 버리기 때문에 좋지 않습니다. 내 탭을 클릭하십시오.Android 자동 숨김 기능이 내 TabHost와 간섭합니다
어떻게해야합니까? 다음은 TITL 바는 아래로 떨어지고 클릭이 걸리기 때문에 그래서이 레이아웃의 활동을 만든 후 ... 나는 화면 상단에 볼 수있는 탭을 클릭 할 수 없습니다 내 레이아웃
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#0099cc"
tools:context="ro.whatever.myapp.testtabhost.app.main">
<TabHost
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:id="@android:id/tabhost"
android:layout_gravity="center_horizontal|top">
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical">
<TabWidget
android:id="@android:id/tabs"
android:layout_width="fill_parent"
android:layout_height="wrap_content"></TabWidget>
<FrameLayout
android:id="@android:id/tabcontent"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<LinearLayout
android:id="@+id/tab1"
android:layout_width="fill_parent"
android:layout_height="fill_parent"/>
<LinearLayout
android:id="@+id/tab2"
android:layout_width="fill_parent"
android:layout_height="fill_parent" />
<LinearLayout
android:id="@+id/tab3"
android:layout_width="fill_parent"
android:layout_height="fill_parent" />
</FrameLayout>
</LinearLayout>
</TabHost>
</FrameLayout>
입니다 자체 ...
이것은 성가신 일입니다. 어떻게 해결할 수 있습니까?