Android: ScrollView + ViewFlipper + Bottom Bar
<p>I am trying to build an activity structured as follows:</p>

<ul>
<li>TopBar</li>
<li>ScrollView</li>
<li>> ViewFlipper</li>
<li>Bottom Bar</li>
</ul>

<p>What I have done is:</p>

<pre><code>&lt;LinearLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:orientation="vertical"&gt;

    &lt;LinearLayout style="@style/TitleBar"&gt;
       TOP BAR
    &lt;/LinearLayout&gt;

    &lt;ScrollView android:layout_width="fill_parent"
                android:layout_height="fill_parent"
                android:fillViewport="true" &gt;

        &lt;LinearLayout
            android:orientation="vertical"
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"&gt;

            &lt;ViewFlipper android:id="@+id/details" 
                         android:layout_width="fill_parent" 
                         android:layout_height="fill_parent"&gt; 

                VIEW FLIPPER

            &lt;/ViewFlipper&gt;

            &lt;LinearLayout
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:padding="10dp"
                android:background="@android:drawable/bottom_bar"
                android:gravity="center_vertical"&gt;

                BOTTOM BAR

            &lt;/LinearLayout&gt;
        &lt;/LinearLayout&gt;
    &lt;/ScrollView&gt;
&lt;/LinearLayout&gt;
</code></pre>

<p>This, of course, is not working. </p>

<p>In fact, it seems the bottom bar is hidden under the <code>viewflipper</code>.
How can I fix this?</p>
