Vote count:
0
I am trying to show three different sections in my Android layout on one screen, each taking up one third of the screen. Each section has a TextView
and a ListView
, and the ListViews
can scroll so that you can see all items, but the overall page does not move. I have tried putting each TextView
and ListView
in a LinearLayout
and setting the height of each LinearLayout
to one third the total height of the screen, but the first ListView
just shows all the items in it, taking up most of the screen, and the other sections are pushed down. How can I make this work, or is there a better way to go about this?
asked 1 min ago
Show 3 scrollable ListViews of equal height in Android Layout
Aucun commentaire:
Enregistrer un commentaire