TabHost with tabs at the bottom

TabHost with tabs at the bottom

<?xml version="1.0" encoding="utf-8"?>

<TabHost android:layout_width="fill_parent"
	android:layout_height="fill_parent" xmlns:android="http://schemas.android.com/apk/res/android"
	android:id="@android:id/tabhost">
	<FrameLayout
		android:orientation="vertical" android:layout_height="fill_parent"
		android:layout_width="fill_parent">
		<FrameLayout android:id="@android:id/tabcontent"
			android:layout_height="wrap_content" android:layout_width="fill_parent" />
		<TabWidget android:id="@android:id/tabs"
			android:layout_height="wrap_content" android:layout_width="fill_parent"
			android:layout_gravity="bottom" />
	</FrameLayout>
</TabHost>
Share