I'm trying to add scrollview layout to this layout :
I'm getting this error.
ScrollView can host only one direct child
How can I solve this problem?
A scrollView can not contain more that one child inside him
WRONG
<ScrollView>
<LinearLayout>
xxxxx
</LinearLayout>
<LinearLayout>
xxxxx
</LinearLayout>
<ScrollView>
RIGHT
<ScrollView>
<LinearLayout>
<LinearLayout>
xxxxx
</LinearLayout>
<LinearLayout>
xxxxx
</LinearLayout>
</LinearLayout>
<ScrollView>
Only one direct child.