fitsSystemWindows effect gone for fragments added via FragmentTransaction

前端 未结 6 1039

I have an Activity with navigation drawer and full-bleed Fragment (with image in the top that must appear behind translucent system bar on Lollipop). While I had an interim

6条回答
  •  爱一瞬间的悲伤
    2020-11-28 03:12

    OK, after several people pointing out that fitsSystemWindows works differently, and it should not be used on every view down the hierarchy, I went on experimenting and removing the property from different views.

    I got the expected state after removing fitsSystemWindows from every node in activity.xml =\

提交回复
热议问题