Main.axml:
<?xml version="1.0" encoding="utf-8"?>
<TabHost xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/tabHostLayouts"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<LinearLayout
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<FrameLayout
android:id="@android:id/tabcontent"
android:layout_width="fill_parent"
android:layout_weight="1"
android:layout_height="wrap_content" />
<TabWidget
android:id="@android:id/tabs"
android:layout_width="match_parent"
android:background="#B70940"
android:layout_marginTop="0dp"
android:layout_weight="0"
android:tabStripEnabled="false"
android:layout_marginBottom="-07dp"
android:layout_height="wrap_content" />
</LinearLayout>
</TabHost>
<?xml version="1.0" encoding="utf-8"?>
<TabHost xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/tabHostLayouts"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<LinearLayout
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<FrameLayout
android:id="@android:id/tabcontent"
android:layout_width="fill_parent"
android:layout_weight="1"
android:layout_height="wrap_content" />
<TabWidget
android:id="@android:id/tabs"
android:layout_width="match_parent"
android:background="#B70940"
android:layout_marginTop="0dp"
android:layout_weight="0"
android:tabStripEnabled="false"
android:layout_marginBottom="-07dp"
android:layout_height="wrap_content" />
</LinearLayout>
</TabHost>
No comments:
Post a Comment