I have a basic layout here, but the LinearLayout inside ScrollView is not matching the parent height.
<LinearLayout
.
.
android:layout_width = "match_parent"
android:layout_height = "match_parent"
android:orientation = "vertical"
.
.>
<EditText
.
./>
<Button
.
./>
<ScrollView
android:layout_width = "match_parent"
android:layout_height = "match_parent">
<LinearLayout
android:id = "@+id/layoutWeb"
android:layout_width = "match_parent"
android:layout_height = "match_parent"
android:orientation = "vertical">
<ListView
android:id = "@+id/listWeb"
android:layout_width = "match_parent"
android:layout_height = "match_parent">
</ListView>
</LinearLayout>
</ScrollView>
</LinearLayout>
The ide suggests to change the linear layout's(id=layoutWeb) height to wrap_parent. I have selected the linear layout in the screenshot below, but its height is not matching the parent