I have a Linearlayout and I want to make it scrollable without using ScrollView. Is it possible. Any suggestions will be appreciated. Here's the detail: If I wrap the LinearLayout using ScrollView, it is ok but when I used a ListView inside LinearLayout(because it is my clients requirement), it said do not use ListView inside ScrollView. I have to show 50 product list using ListView and I have to put this ListView inside LinearLayout and at the same time whole layout will be scrollable. Is it possible. Here is the skeleton:
<LinearLayout>
<RelativeLayout>
<LinearLayout>
<TextView>
</LinearLayout>
<LinearLayout>
<TextView>
</LinearLayout>
<LinearLayout>
<TextView>
</LinearLayout>
<LinearLayout>
<TextView>
</LinearLayout>
<LinearLayout>
<TextView>
</LinearLayout>
<LinearLayout>
<TextView>
</LinearLayout>
<LinearLayout>
<TextView>
</LinearLayout>
<LinearLayout>
<TextView>
</LinearLayout>
<LinearLayout>
<TextView>
</LinearLayout>
<LinearLayout>
<TextView>
</LinearLayout>
<LinearLayout>
<TextView>
</LinearLayout>
<LinearLayout>
<TextView>
</LinearLayout>
<LinearLayout>
<TextView>
</LinearLayout>
<LinearLayout>
<TextView>
</LinearLayout>
<LinearLayout>
<ListView>
</LinearLayout>
</RelativeLayout>
</LinearLayout>
Important: See the ListView where I want to add 50 list item. So how can I make this total LinearLayout scrollable.