ViewPager's height in Coordinator layout is more than available

前端 未结 3 889
抹茶落季
抹茶落季 2021-01-02 04:45

I have a CoordinatorLayout with a Toolbar and a TabLayout inside the AppBarLayout. Additionally, I have a ViewPager

3条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-02 05:12

    A possible hack can be adding same bottom margin as toolbar which is

    ?attr/actionBarSize . You can even fiddle around with other possible ui hacks of margins to give you best result.

提交回复
热议问题