Two listviews which are showing different data in layout XML file and there is the code:
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="vertical" >
<ListView
android:id="@+id/detaillistview"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:clickable="false"
android:headerDividersEnabled="false" >
</ListView>
<ImageView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:src="@drawable/divider" />
<ListView
android:id="@+id/reviewlistview"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:clickable="false"
android:headerDividersEnabled="false" >
</ListView>
</LinearLayout>
But when the top listview is full of the screen I will never see the bottom one.
Any idea to fix this? Thank you in advance!
Keep the
LinearLayoutin aScrollView. Thats it.I have used the same format as shown below: