タブを画面の下側へ表示する

上記のようにタブを画面下側へ表示するには、

下記のように TabHost 配下の LinearLayout を RelativeLayout へ変更し、

FrameLayout の layout_alignParentTop プロパティを true へ設定し、

TabWidget の layout_alignParentBottom プロパティを true の設定すると出来るようです。

※ちなみに TabWidget は、FrameLayout の上部へ記述しても問題ありませんでした。

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

android:layout_width="fill_parent"

android:layout_height="fill_parent">

<RelativeLayout android:layout_width="fill_parent"

android:id="@+id/linearLayout1"

android:layout_height="fill_parent"

android:orientation="vertical">

<FrameLayout android:layout_width="fill_parent"

android:layout_height="fill_parent"

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

android:layout_alignParentTop="true">

<LinearLayout android:layout_width="fill_parent"

android:layout_height="fill_parent"

android:id="@+id/contentlayout1">

</LinearLayout>

<LinearLayout android:layout_width="fill_parent"

android:layout_height="fill_parent"

android:id="@+id/contentlayout2">

</LinearLayout>

<LinearLayout android:layout_width="fill_parent"

android:layout_height="fill_parent"

android:id="@+id/contentlayout3">

</LinearLayout>

</FrameLayout>

<TabWidget android:layout_width="fill_parent"

android:layout_height="wrap_content"

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

android:layout_alignParentBottom="true">

</TabWidget>

</RelativeLayout>

</TabHost>