Make top row of GridView non-scrollable
I have a GridView of 9 rows of which the first one is sort of "header" row.
As there are 8 more rows they flow beyond the end of screen and need to be scrolled down to. However this scrolling also causes the first row to go "off-screen".
Was wondering if there is any way I can开发者_如何学编程 prevent the first row alone from being scrolled off?
I dont want to make this a separate LinearLayout as it is part of a dynamic View (the GridView) that I create at runtime.
TIA
Was wondering if there is any way I can prevent the first row alone from being scrolled off?
Not that I am aware of, sorry.
精彩评论