将TabHost下置在屏幕下方只需要在xml布局文件中添加一句话:
android:layout_alignParentBottom="true"
但是为了使这个alignParentBottom生效,必须将整个tabs封装在一个RelativeLayout中。
<?xml version="1.0" encoding="utf-8"?>
<TabHost xmlns:android="http://schemas.android.com/apk/res/android"
</TabWidget>
<FrameLayout android:id="@android:id/tabcontent"
</FrameLayout>
</RelativeLayout>
</TabHost>