Android Design Support TabLayout overlapping content

后端 未结 1 1688
小鲜肉
小鲜肉 2020-12-16 13:47

I am using the new TabLayout introduced in the design support library. I have the code like this:



        
相关标签:
1条回答
  • 2020-12-16 14:21

    You need to add app:layout_behavior="@string/appbar_scrolling_view_behavior" to your ViewPager: this is what changes the height of the View to be below the AppBarLayout rather than the full match_parent height.

    0 讨论(0)
提交回复
热议问题