Grid Layout Vs. Table Layout

后端 未结 7 2198
伪装坚强ぢ
伪装坚强ぢ 2020-12-02 17:15

I am working on a booking engine android app like an airline booking system. To fetch the content of say all the available airlines specific to a passenger search, this is t

7条回答
  •  猫巷女王i
    2020-12-02 17:43

    I think a TableLayout would be more easy to use. For a GridLayout you need to build custom adapters and so one which result in a more complicated application.

    Looking at different sceensizes, a GridLayout will choose a good number of columns and rows by itself according to the content and it will be more flexible with adding items.

    Also the GridLayout will be more flexible but it is some more work to make.

提交回复
热议问题