Skip to content Skip to sidebar Skip to footer

How To Add A Footer To Gridview Layout In Android

I need to add a footer view of some kind to a gridview layout in android, there is no official documentation that I can find for this and I have not been able to find a method that

Solution 1:

You could effectively add a footer grid item using something along the lines of: https://github.com/commonsguy/cwac-endless

This wouldn't look like what you require, it would look more like the last grid item is a button.

The other option is to have a relative layout which aligns the button to the bottom of the screen, initially its visibility is set to gone and is set to visible only when the user hits the end of the page. This is more of a hack/workaround.

Post a Comment for "How To Add A Footer To Gridview Layout In Android"