Toolbar behind status bar with API 21

后端 未结 3 1801
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-20 18:47

I\'ve a fragment with a CoordinatorLayout

When i run the app with API 19 the behavior is right : The toolbar is below the status bar and the FAB bu

3条回答
  •  伪装坚强ぢ
    2020-12-20 19:14

    Had a similar problem (exemplified here)

    How I made it work was to add android:fitsSystemWindows="false" to the AppBarLayout and have it on true on the CoordinatorLayout

提交回复
热议问题