<?xml version="1.0" encoding="utf-8"?>
<TabHost android:id="@+id/tabHost"
         xmlns:android="http://schemas.android.com/apk/res/android"
         android:layout_width="match_parent"
         android:layout_height="match_parent"
         android:layout_gravity="center_horizontal">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical">

        <TabWidget
            android:id="@android:id/tabs"
            android:layout_width="match_parent"
            android:layout_height="wrap_content">
        </TabWidget>

        <FrameLayout
            android:id="@android:id/tabcontent"
            android:layout_width="match_parent"
            android:layout_height="match_parent">

            <include
                android:id="@+id/tab1"
                layout="@layout/tag_read"/>

            <include
                android:id="@+id/tab2"
                layout="@layout/tag_write"/>

            <include
                android:id="@+id/tab3"
                layout="@layout/tag_lock"/>

            <include
                android:id="@+id/tab4"
                layout="@layout/tag_kill"/>

        </FrameLayout>
    </LinearLayout>
</TabHost>