Reputation: 35986
I want to stretch the row of a GridView to match the height of the screen in Android. How do I do this?
Upvotes: 3
Views: 7740
Reputation: 35986
You are in control over your row heights, by virtue of what you put in them. Since your cells appear to have more than one widget, they are presumably wrapped in a LinearLayout or something. Set your LinearLayouts to be some specific height, and the rows will all be that height.
Personally, I think you should be resizing your images if you are going to have text above and below each image on a per-cell basis.
With the Reference commonsware link
Upvotes: 1