Android - ListViews inside tableLayout

前端 未结 3 1830
攒了一身酷
攒了一身酷 2021-01-27 11:54

I\'m trying to build and app that shows organized data so I\'m thinking that basically a TableLayout would be a good idea, just to keep them in rows, so I\'m wonder

3条回答
  •  Happy的楠姐
    2021-01-27 12:13

    1) it says possibly so avoid drawing conclusions, trust yourself young padawan! But yes, the parent looks useless to me too :)

    2) Using Table layout outside of your ListView wont change the rows' layout in the list, in case this is what you want to achieve.

    You might have seen this but the Developers page offers a really good tutorial that can help you create a good base for your ListView (this example uses a ListActivity). Then on you can modify the rows' layouts using TableLayout ...etc.

提交回复
热议问题