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\
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