I have this structure
<LinearLayout android:id="@+id/1"> <LinearLayout android:id="@+id/2" /> <LinearLayout android:id="@+id/3"> <ListView android:id="@android:id/list" /> </LinearLayout> </LinearLayout> And I populate the ListView with some data. Well my problem is that the ListView becomes scrollable (while the LinearLayout number 1 fits the screen without scrolling), but what I want is this View to become full height and that the LinearLayout with id=1 becomes scrollable.
Inside ListView number 2 I have some TextViews, etc.