Skip to content

Instantly share code, notes, and snippets.

@bradenpowers
Forked from mattapperson/gist:1621570
Created October 9, 2012 13:45
Show Gist options
  • Save bradenpowers/3858910 to your computer and use it in GitHub Desktop.
Save bradenpowers/3858910 to your computer and use it in GitHub Desktop.

Revisions

  1. @mattapperson mattapperson created this gist Jan 16, 2012.
    28 changes: 28 additions & 0 deletions gistfile1.xml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,28 @@
    <?xml version="1.0" encoding="utf-8"?>
    <TabHost xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@android:id/tabhost"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent">

    <LinearLayout
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    android:padding="0dp">

    <FrameLayout
    android:id="@android:id/tabcontent"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:padding="0dp"
    android:layout_weight="1"/>

    <TabWidget
    android:id="@android:id/tabs"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:layout_weight="0"/>

    </LinearLayout>

    </TabHost>