Tabs in CollapsingToolbarLayout overlapping RecyclerView
问题 I have a TabLayout which has a ViewPager that selects between two fragments which both have vertical scrolling RecyclerViews. I have a scrolling TabLayout so that when I scroll the RecyclerView, the tabs disappear. However, it starts off with the TabLayout overlapping the RecyclerView's first item, cutting it off. I have tried adding margin to the ViewPager but this margin exists even after the tabs have been scrolled off of the screen. How could I change it so the tabs do not overlap the