Can tab view be used in a fragment

95 views Asked by At

I am trying to achieve UI shown as below.
Header which can be included in xml,same goes to search text view as it is a reusable view.
Problem I am facing is to make tab view , each having list item and as usual tabs should be slidable.
I am planning to use base class which extends android.support.v4.app.FragmentActivity
At the end there is a footer also. Below is the UI which I am trying to achieve. Any help is really appreciable.
enter image description here

1

There are 1 answers

0
Natix On BEST ANSWER

Have a look at ViewPager. This will handle the sliding.

For the tabs, you can use the good ol' TabWidget or the new TabLayout from the Design Support library