title: FragmentTabHost with horizontal scroll
body: <p>I am trying to build a FragmentTabHost and make it horizontal Scrollable. I've been searching for a solution but couldn't find anything, all posts are about normal TabHost.</p>
  
  <p>I am using the support library as explained in the android site for <a href="http://developer.android.com/reference/android/support/v4/app/FragmentTabHost.html">FragmentTabHost</a> </p>
  
  <p>My layout is : </p>
  
  <pre><code>&lt;android.support.v4.app.FragmentTabHost xmlns:android="http://schemas.android.com/apk/res/android"
  android:id="@android:id/tabhost"
  android:tag="trip_entry_tab"
  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="0dp"
          android:layout_height="0dp"
          android:layout_weight="0"/&gt;
      &lt;FrameLayout
          android:id="@+id/realtabcontent"
          android:layout_width="match_parent"
          android:layout_height="0dp"
          android:layout_weight="1"/&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p></p>
  
  <p>Already tried to nest the tabwidget into an horizontal scroll view (this is the solution I could find in other posts, but always for TabHost and not for FragmentTabHost), but nothing changes:</p>
  
  <pre><code>&lt;HorizontalScrollView
              android:layout_width="fill_parent"
              android:layout_height="wrap_content"
              android:fillViewport="true"
              android:scrollbars="none" &gt;
  
              &lt;TabWidget
                  android:id="@android:id/tabs"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content" &gt;
              &lt;/TabWidget&gt;
          &lt;/HorizontalScrollView&gt;
  </code></pre>
  
  <p>My tabs just got shrinked and that is really not nice looking. Has somebody make it to get a fragment tab host scrollable?</p>
  
  <p>Thanks</p>