Merge rows and columns in android Gridview

末鹿安然 提交于 2019-12-12 22:35:50

问题


I am doing an image viewing page in android.I need to merge rows in some places and merge columns in some places.Can we do it in gridview. If we select any merged image the total imageview should be selected.Please anyone tell me a suggestion. Thanks in advance.


回答1:


Can we do it in gridview

No, sorry, GridView does not really support row or column spans. GridLayout does, though, and TableLayout/TableRow supports column spans.

You might also look at the open source StaggeredGridView.




回答2:


Try AsymmetricGridView. I wrote it myself :)



来源:https://stackoverflow.com/questions/16217266/merge-rows-and-columns-in-android-gridview

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!