Android: Tabs at the bottom with FragmentTabHost
阿新 • • 發佈:2019-02-07
<?xml version="1.0" encoding="utf-8"?><android.support.v4.app.FragmentTabHostxmlns:android="http://schemas.android.com/apk/res/android"android:id="@android:id/tabhost"android:layout_width="fill_parent"android:layout_height="fill_parent"><LinearLayoutandroid:orientation="vertical"android:layout_width ="fill_parent"android:layout_height="fill_parent"><FrameLayoutandroid:id="@android:id/tabcontent"android:layout_width="fill_parent"android:layout_height="fill_parent"android:layout_weight="1"/><TabWidgetandroid:id="@android:id/tabs"android:layout_width="fill_parent"android:layout_height="wrap_content" android:layout_weight="0"/></LinearLayout></android.support.v4.app.FragmentTabHost>