简体   繁体   中英

How to add a title header to a GridView?

I am trying to make the following layout:

http://oi57.tinypic.com/zuqwew.jpg

But the problem here is that there is no option by default to add a header above the GridView.

Here is what I have done so far:

http://oi59.tinypic.com/zwxc2s.jpg

Is there any way to put a header which will scroll along the grid view horizontally? (Yes, it SHOULD scroll). I tried to make the first row permanently display the header content but no luck. Please help out.

rather than GridView use ListView and above use some some static layout or you can use sticky Header ListView library
https://github.com/applidium/HeaderListView

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM