Android ListView scrolls the entire screen
<p>I have created a layout containing many linear layouts, and I have, in one of the linear layouts, 3 ListViews set side by side. I want to make each one of them scrollable, but singularily. For example, I want to be able to scroll one of them without anything else being affected.</p>

<p>Right now, if I set "android:nestedScrollingEnabled="true"" for any one of the lists, the entire screen scrolls. I want the scrolling of the list to be confined to the layout the list is in (so I can scroll the list and the rest of the screen stays in place).</p>

<p>How can I do that? So far, it's either no scrolling at all, or scrolling the entire screen. I just want the list to scroll.</p>

<p>Thanks!</p>

<p>PS: Here's how the relevant part of the XML looks like (nothing special about it):</p>

<pre><code>&lt;LinearLayout
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="horizontal"
    android:layout_marginBottom="@dimen/list_vertical_margin"&gt;

       &lt;ListView
            android:id="@+id/realtime_vehicle_list"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_weight="1" /&gt;

        &lt;ListView
            android:id="@+id/realtime_errors_list"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_weight="1" /&gt;

        &lt;ListView
            android:id="@+id/realtime_depot_list"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_weight="1" /&gt;
&lt;/LinearLayout&gt;
</code></pre>