Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- main.xml
- <?xml version="1.0" encoding="utf-8"?>
- <TabHost xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent"
- android:layout_height="300dip"
- android:id="@android:id/tabhost">
- <LinearLayout
- android:id="@+id/LinearLayout01"
- android:orientation="vertical"
- android:layout_height="fill_parent"
- android:layout_width="fill_parent">
- <TabWidget
- android:id="@android:id/tabs"
- android:layout_height="wrap_content"
- android:layout_width="fill_parent">
- </TabWidget>
- <FrameLayout
- android:id="@android:id/tabcontent"
- android:layout_height="fill_parent"
- android:layout_width="fill_parent">
- </FrameLayout>
- </LinearLayout>
- </TabHost>
- tab_indicator
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical" >
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent" >
- <ImageView
- android:id="@+id/imageView1"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentLeft="true"
- android:layout_alignParentTop="true"
- android:src="@drawable/ic_launcher" />
- <TextView
- android:id="@+id/textView1"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentLeft="true"
- android:layout_below="@+id/imageView1"
- android:text="TextView" />
- </RelativeLayout>
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement