Spacing Issue while creating bus layout in recycler view Gridlayout manager

前端 未结 2 1046
一向
一向 2021-02-13 02:19

I\'m using recycler view with GirdLayout Manager for creating bus layout

my problem is with spacing I\'m populating data according to row column

This is how I\

2条回答
  •  长发绾君心
    2021-02-13 02:53

    I suggest implementing your recycler view item layout as a TableLayout or a GridLayout, they provide more flexibility in defining row/column spans.

    Some useful links:

    http://android-pro.blogspot.com.eg/2010/02/table-layout.html https://developer.android.com/guide/topics/ui/layout/grid.html

提交回复
热议问题