ASi

androidでタブを画面下部に表示する

ポイントは アトリビュート android:gravity="bottom"

確認はAndroid2.2 apilevel8

<TabHost android:id="@android:id/tabhost" 
android:layout_width="match_parent" 
android:layout_height="match_parent" 
xmlns:android="http://schemas.android.com/apk/res/android" 
> 
    <FrameLayout android:id="@android:id/tabcontent" 
    android:layout_width="match_parent" 
    android:layout_height="wrap_content" 
    >  
        <LinearLayout android:id="@+id/tab1"
        android:orientation="vertical"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        >
            <!-- Tab content here -->
        </LinearLayout>
		
        <LinearLayout android:id="@+id/tab2"
        android:orientation="vertical"
        android:layout_width="match_parent"
        android:layout_height="match_content"
        >
            <!-- Tab content here -->
        </LinearLayout>
    </FrameLayout>

    <TabWidget android:id="@android:id/tabs" 
    android:layout_width="match_parent" 
    android:layout_height="match_parent"
    android:gravity="bottom"
    />
</TabHost>