Q:

How to make ListView and ImageView scrollable into LinearLayout?

I have LinearLayout compoment which contains ListView and ImageView.
According to the documentation layout area should be scrollable if element's height is bigger than LinearLayout's area.
But scroll is not available.
I can scroll only when listview contains a lot of elements. But in this case ImageView component is not visible at all.
Using ScrollView is not allowed because ListView has his own Scroll element.
Could you please advice what should I do?
Here is part of my xml file:
<LinearLayout android:orientation="vertical"
              android:layout_width="fill_parent" 
              android:layout_height="fill_parent"
              android:layout_below="@id/top_header" 
              android:layout_above="@id/bottom_menu"
              android:layout_weight="1"
              android:id="@+id/sub_content_view">

    <ListView
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:id="@+id/eventsListView"/>

    <ImageView
            android:layout_width="fill_parent"
            android:layout_height="260dp"
            android:id="@+id/empty_area"
            android:adjustViewBounds="true"
            android:background="@drawable/empty_area"
            android:contentDescription="@string/contentDescription"/>

</LinearLayout>

A:

If you ListView is not empty, you may register the ImageView as list footer, it then scrolls with the ListView. However, footers are not displayed if the list is empty, so you'd have to add the ImageView to the empty view as well.

