title: Create Smaller Tabs in Android
body: <p>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. </p>
  
  <p>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. </p>
  
  <pre><code>&lt;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"&gt;
      &lt;LinearLayout android:orientation="vertical"
          android:layout_width="fill_parent" android:layout_height="fill_parent"&gt;
          &lt;TabWidget android:id="@android:id/tabs"
              android:layout_width="fill_parent" android:layout_height="wrap_content" /&gt;
          &lt;FrameLayout android:id="@android:id/tabcontent"
              android:layout_width="fill_parent" android:layout_height="fill_parent"&gt;
          &lt;/FrameLayout&gt;
      &lt;/LinearLayout&gt;
  &lt;/TabHost&gt;
  </code></pre>
  
  <p>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:
  <img src="https://i.stack.imgur.com/BtpO0.png" alt=""></p>