Reputation: 3814
Let me explain my problem. I have a layout such as:
<LinearLayout ... > (vertical)
<FixedHeightLayout ... /> (let's say the middle of the whole screen height)
<GridView ... /> (large grid of items)
</LinearLayout>
That is, I have a vertically oriented linear layout with two items: a fixed height shape and a grid view. I do need to be able to scroll down to the end of the whole activity but not only the list view. The thing is that I can scroll the list view but I need the fixed height layout to disappear.
How can I achieve this? Sorry but it's difficult to explain.
Upvotes: 1
Views: 395
Reputation: 72553
Add the "fixed height layout" as a header to your ListView
with addHeaderView
:
listView.addHeaderView(R.layout.fixedHeightLayout);
Upvotes: 1