Offset appbar using margin instead (maybe fixes #4819)

This commit is contained in:
arkon 2021-04-12 09:00:47 -04:00
parent 27f55f8098
commit 15bed1ac4c

View File

@ -95,7 +95,10 @@ class MainActivity : BaseViewBindingActivity<MainActivityBinding>() {
WindowCompat.setDecorFitsSystemWindows(window, false)
binding.appbar.applyInsetter {
type(navigationBars = true, statusBars = true) {
padding(left = true, top = true, right = true)
padding(left = true, right = true)
}
type(statusBars = true) {
margin(top = true)
}
}
binding.bottomNav.applyInsetter {