Advertisement
t0mm13b

default TabActivity

Apr 5th, 2011
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.93 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <TabHost xmlns:android="http://schemas.android.com/apk/res/android"
  3.        android:id="@android:id/tabhost"
  4.        android:layout_width="fill_parent"
  5.        android:layout_height="fill_parent">
  6.         <LinearLayout android:orientation="vertical"
  7.                android:layout_width="fill_parent"
  8.                android:layout_height="fill_parent">
  9.                 <TabWidget android:id="@android:id/tabs"
  10.                        android:layout_width="fill_parent"
  11.                        android:layout_height="wrap_content"
  12.                        android:paddingTop="12px"
  13.            android:orientation="vertical"
  14.            android:gravity="center_horizontal" />
  15.                 <FrameLayout android:id="@android:id/tabcontent"
  16.                        android:layout_width="fill_parent"
  17.                        android:layout_height="fill_parent"/>
  18.         </LinearLayout>
  19. </TabHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement