问题
I am building an application in which i wantt to set each row of gridlayout with different image
回答1:
Have a array list of images file path/url and simply call it from inside your getView method like
layoutName.setBackground(imageList.get(position));
来源:https://stackoverflow.com/questions/5828044/how-to-set-the-background-image-of-gridlayout-for-each-row-in-android