Closed taimur97 closed 9 years ago
Are you 100% sure that you aren't inflating a layout with two PagerSlidingTabStrip views define? or you are not adding a second one in run time? Why are you using android:fillViewport="false"
?
okay the problem is now solved. The problem was in my adapter class
I am having multiple tab layers. I don't know why this is happening.
This is how it looks
This is my code i am using My Home Class public class HomeClass extends Fragment {
}
My PagerAdapter Class public class PagerAdapter extends FragmentPagerAdapter { private final String[] TITLES = {"TAB1", "TAB2", "TAB3"};
}
My Layout XML file