You should be using the new TopbarInsets API to dynamically adjust your own UI to fit the topbar, see this for more info: