Reputation: 327
I have an activity
layout in which I have a viewpager
that contains a couple of fragments
. One of the fragment
holds a listview
(image sample attached).
What I'm trying to do is to scroll the listview
and stick the TabStrip
to the top of the layout, so when you are scrolling the list, the viewpager
's fragment titles are always visible but you can see the entire listview
content.
Above the viewpager
there are views that needs to scroll up when the listview
is scrolling.
Is any way to achieve this?
I've tried with scrollview
and placing the viewpager
inside it, but it doesn't work because the viewpager
doesn't display at all.
Please help!
Upvotes: 1
Views: 2359