I try to prevent a listview from scrolling. i've seen on other topic ( such as How to get a non scrollable ListView?) to use a Linear layout instead. However, it is not possibble in my application, my listview is filled programmably and so I need this component. Thanks for the response
Edit : it seems the easyest way to do it without changing my whole code is to add the others item from the scroolview in the listview as header,so I don't need a scroolview anymore.
however, then the listview adaper just seem to not be working. i've seen that I have to use a wrappedListadapter, but I cannot figure how to do it.
here is the code I use to set the adapter :
SimpleAdapter mSchedule = new SimpleAdapter(this.getBaseContext(), listItem, R.layout.consultafficheitem,
new String[] {"description", "ingredient"}, new int[] {R.id.consultlistdescription, R.id.consultlistingredients});
scroll = (RelativeLayout) findViewById(R.id.consultscrollrelativelayout);
liste.addHeaderView(scroll);
liste.setAdapter(mSchedule);