だから私は2つのタブを持つタブアクティビティを持っています。これらの下に、2番目のビューがあります。現時点では、ビューを最後に配置できますが、現在表示されているタブの最後にあるものと重複しています。コンテンツの終わりを重ねるのではなく、タブの下に2番目のビューを表示する方法を知っている人はいますか?
たとえば、ビューが単なるテキストビューの場合、私のレイアウトは次のようになります。
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<TabHost android:id="@android:id/tabhost"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<LinearLayout android:id="@+id/linearLayout"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<TabWidget android:id="@android:id/tabs"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
<FrameLayout android:id="@android:id/tabcontent"
android:layout_width="fill_parent"
android:layout_height="fill_parent"/>
</LinearLayout>
</TabHost>
<RelativeLayout android:id="@+id/InnerRelativeLayout"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true">
<TextView android:id="@+id/EndView"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="At the end of the screen"/>
</RelativeLayout>
</RelativeLayout>