0
내 안드로이드 뷰 하단에 사용자 정의 탭이 있습니다. 기본 페이지 내용이 전체 높이를 사용할 수 있어야하므로 기본 페이지에서 "GONE"을 갖고 싶습니다.Android Fragment Tabbar - 메인 페이지에서 보이지 않습니까?
하지만 가시성 = "사용하지 않음"으로 설정 한 경우에도 내용보기가 전체 높이가 아니기 때문에 메인 페이지를 렌더링 할 때 탭바의 높이는 100dp로 고려됩니다.
<?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"
android:orientation="vertical" android:gravity="center_horizontal">
<FrameLayout android:layout_width='fill_parent'
android:layout_height="match_parent"
android:layout_weight="1"
android:orientation="vertical" android:id="@+id/content">
</FrameLayout>
<fragment android:name="MainActivity$TabBarFragment"
android:visibility="gone"
android:id="@+id/tabbar"
android:layout_weight="1"
android:layout_width="fill_parent"
android:layout_height="100dp"/>
은 어떻게 내용 없음이 mainpage에서 전체 높이를 취할 수 있습니까?