mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
Added inset hieight to menu sheet when setting max height
This commit is contained in:
parent
b6f6b410bb
commit
b42d611fde
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ class MaterialMenuSheet(
|
|||
window?.decorView?.systemUiVisibility = View.SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR
|
||||
}
|
||||
maxHeight?.let {
|
||||
menu_scroll_view.maxHeight = it
|
||||
menu_scroll_view.maxHeight = it + activity.window.decorView.rootWindowInsets.systemWindowInsetBottom
|
||||
menu_scroll_view.requestLayout()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue