mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
Fix bottom sheets sometimes hovering over nav bar
Happens when the keyboard shows and on some sheets in android 12 (yes I have a device on dev preview)
This commit is contained in:
parent
999247d7dd
commit
6fc845e303
1 changed files with 2 additions and 0 deletions
|
@ -254,6 +254,8 @@ fun BottomSheetDialog.setEdgeToEdge(
|
||||||
window?.decorView?.systemUiVisibility = View.SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR
|
window?.decorView?.systemUiVisibility = View.SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR
|
||||||
window?.findViewById<View>(com.google.android.material.R.id.container)?.fitsSystemWindows =
|
window?.findViewById<View>(com.google.android.material.R.id.container)?.fitsSystemWindows =
|
||||||
false
|
false
|
||||||
|
window?.findViewById<View>(com.google.android.material.R.id.coordinator)?.fitsSystemWindows =
|
||||||
|
false
|
||||||
contentView.systemUiVisibility = View.SYSTEM_UI_FLAG_LAYOUT_STABLE or View
|
contentView.systemUiVisibility = View.SYSTEM_UI_FLAG_LAYOUT_STABLE or View
|
||||||
.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN or View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION
|
.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN or View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue