CoordinatorLayout status bar padding disappears from ViewPager 2nd page

后端 未结 4 1420
春和景丽
春和景丽 2020-12-24 07:00

EDIT of 01/02/2016: Bug should be resolved by applying the code provided by Android Team: https://stackoverflow.com/a/35132144/3397345, see accepted answer

4条回答
  •  北荒
    北荒 (楼主)
    2020-12-24 08:05

    Seems the solution for this is simple

    You have

    android:fitsSystemWindows="true"
    

    In the fragment CoordinateLayoutView

    remove it from here and put in the Activity's root view.

    This should now all work

提交回复
热议问题