Hi,
I am trying to add scrollview to linearlayout but it showing error like
"ScrollView can have only one direct child".. I tried like this
Scrollview scrollview = new ScrollView(context)
linearlayout.removeAllViews();
linearlayout.addview(listview)
scrollView.addView(linearlayout);
Can anybody point out where i am doing mistake.