I am trying to put a list view in a scroll view which is not possible as I found in several similar questions.
I have a quite large menu to be placed above list view, which completely hides the list view on small screens, so I need a scroll view which is not possible. I read that I should use a linear layout instead of list view to solve this problem. But not sure how to setup up an adapter on linearlayout. I am using a lazy adapter for image loading in the list view.
Code:
LinearLayout list=(LinearLayout)findViewById(R.id.listActivities);
adapter=new LazyAdapter(this, activityList);
list.setAdapter(adapter);
As I understand from your question there is a single view that you wonna put at the top of your list view. Try to use
ListView.addHeaderView(View v)for that purpose. See android API documentation for more info.