title: ViewPager in ScrollView
body: <p>I need to have a <code>ViewPager</code> inside a <code>ScrollView</code> but <code>ViewPager</code> just does not appear when it's in <code>ScrollView</code>, everything is ok when i don't use <code>ScrollView</code>.</p>
  
  <p>I've seen a couple questions like this being asked here on stackoverflow or on other sites and all of them have been answered that you have to put <code>android:fillViewport="true"</code> to your scrollview to fix the problem, but this solution doesnt work for me, <code>ViewPager</code> still does not appear even if i have <code>android:fillViewport="true"</code> in my <code>ScrollView</code>.</p>
  
  <p>I guess something got changed in the android api's or something and this solution doesn't work anymore, does anyone know how i could possibly make a <code>ViewPager</code> appear in a <code>ScrollView</code>?</p>
  
  <p>UPDATE: A working ScrollView layout XML:</p>
  
  <pre><code>&lt;ScrollView
      android:id="@+id/scrollView1"
      android:layout_width="fill_parent"
      android:layout_height="fill_parent"
      android:fillViewport="true"&gt;
  
  
      &lt;LinearLayout
          android:id="@+id/linearLayout1"
          android:layout_width="fill_parent"
          android:layout_height="fill_parent"
          android:orientation="vertical"&gt;
  
              &lt;android.support.v4.view.ViewPager
                  android:id="@+id/itemsViewPager2"
                  android:layout_width="fill_parent"
                  android:layout_height="wrap_content" &gt;
              &lt;/android.support.v4.view.ViewPager&gt;
      &lt;/LinearLayout&gt;
   &lt;/ScrollView&gt;
  </code></pre>