this should be a very easy thing to do, but it looks like it\'s very tricky. In my code I have this ListView:
in the adapter set the parent as described above
@Override public View getView(int position, View convertView, ViewGroup parent) { ... View v = inflater.inflate(R.layout.filtered_trip_row, parent,false); … return v; }