开发者

Set the Image in Grid view

开发者 https://www.devze.com 2023-02-28 07:48 出处:网络
I have Set the Main Window of my Application as the Grid View. But all images are 开发者_C百科not Equals. .I have to set it according to its size. Is it Possible to change the size and set it individu

I have Set the Main Window of my Application as the Grid View. But all images are 开发者_C百科not Equals. . I have to set it according to its size. Is it Possible to change the size and set it individually in the grid view ? Is yes then please tell me how. . Thanks.


You control the size of the ImageView via the layout that you are inflating for your GridView cells. Set the appropriate attributes on the ImageView to control its size and whether you want the image to be cropped, scaled, or whatever.

0

精彩评论

暂无评论...
验证码 换一张
取 消