Change the first linearlayout in Tabhost to Relativelayout. and add android:layout_alignparentbottom= "true" in Tabwidget
<framelayout xmlns:android= "Http://schemas.android.com/apk/res/android"
Xmlns:tools= "Http://schemas.android.com/tools"
Android:layout_width= "Match_parent"
android:layout_height= "Match_parent"
Tools:context= ". Mainactivity ">
<tabhost
Android:id= "@android: Id/tabhost"
Android:layout_width= "Match_parent"
android:orientation= "Vertical"
android:layout_height= "Match_parent" >
<relativelayout
Android:id= "@+id/relativelayout1"
Android:layout_width= "Match_parent"
android:layout_height= "Match_parent"
>
<tabwidget
Android:id= "@android: Id/tabs"
Android:layout_width= "Match_parent"
android:layout_height= "Wrap_content"
android:layout_alignparentbottom= "true" >
</TabWidget>
<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" >
</LinearLayout>
<linearlayout
Android:id= "@+id/tab2"
android:orientation= "Vertical"
Android:layout_width= "Match_parent"
android:layout_height= "Match_parent" >
</LinearLayout>
<linearlayout
Android:id= "@+id/tab3"
android:orientation= "Vertical"
Android:layout_width= "Match_parent"
android:layout_height= "Match_parent" >
</LinearLayout>
<linearlayout
Android:id= "@+id/tab4"
android:orientation= "Vertical"
Android:layout_width= "Match_parent"
android:layout_height= "Match_parent" >
</LinearLayout>
</FrameLayout>
</RelativeLayout>
</TabHost>
</FrameLayout>
How Android developed to make Tabhost's tabwidget on the bottom of the screen