Skip to content

Instantly share code, notes, and snippets.

@mattapperson
Created January 16, 2012 16:11
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save mattapperson/1621570 to your computer and use it in GitHub Desktop.
Save mattapperson/1621570 to your computer and use it in GitHub Desktop.
<?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>
@Mritunjaysingh
Copy link

Hi,
This is not working with Titanium 3.0. Latest SDK.
Can you help me for solving this problem.

@songlipeng2003
Copy link

@Mritunjaysingh do you fix it with Titanium 3.0?

@zeekerg
Copy link

zeekerg commented May 30, 2013

I use Alloy and this is not working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment