source.rar
source.rar

Reputation: 8090

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

Upvotes: 2

Views: 814

Answers (1)

CommonsWare
CommonsWare

Reputation: 1007399

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.

Upvotes: 1

Related Questions