I am trying to create smaller tabs in android — but I can’t seem to get it to work because all that happens when I create a smaller tab is that it shows the bigger tab — but without a drawable.
This is my layout code for tabs now — but the height isn’t wrapping for some reason — it just goes to Android’s usual layout height.
<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">
<TabWidget android:id="@android:id/tabs"
android:layout_width="fill_parent" android:layout_height="wrap_content" />
<FrameLayout android:id="@android:id/tabcontent"
android:layout_width="fill_parent" android:layout_height="fill_parent">
</FrameLayout>
</LinearLayout>
</TabHost>
It would be great if someone could help me create something like the Facebook application — I think that looks really clean and I would love to implement something like it:

Well this was far more complicated than I thought it should be but, nevertheless, this should get you a basic implementation of the appearance that you want…
This won’t account for tab borders or the spacing between elements though. You also need a colour state list definition like the following in the ./res/color directory…
Hope that helps.