问题描述:

Need your help in grid view customization based on row index.

For even positioned row no padding/margin and for odd positioned row some padding/margin before starting row.

I had stuck here for creating this type of grid-view as shown in image.

For Row index 0 row padding 0dp

For Row index 1 row padding Xdp e.g. 10dp

and so on...

How to achieve this in custom grid view.(Grid view customization)

Like this type of Zig-Zag pattern..

Your suggestions are welcome..

Thanks :)

相关阅读:
Top