I have a ListView and it has Header and Footer . Their markup in CardView . And in the Content list, which should have one background . Here is a picture where you can clearly see: I now have this

enter image description here

And how to do it:

enter image description here

Is it possible to implement this in ListView? if so how, if not then how to implement?

  • 2
    Do I need a listview here? Or if it scrolls it shows another passenger? - Android Android
  • Not! will not show ... only the route increases - DevOma
  • 3
    Well, if only the route is scrolled, why put everything in the listview? as for me, there are 3 containers here, the first and the last are nailed to the top and bottom respectively, the average is for the whole length, and it contains a listview - ermak0ff
  • I need all 3 containers scrolled ... and not just the route! - DevOma
  • I did so ScrollView > first container> second container with listView > third container. But unfortunately at the bottom of the 2 container was a huge empty space! - DevOma

0