diff --git a/backdrop/src/main/kotlin/ru/semper_viventem/backdrop/BackdropBehavior.kt b/backdrop/src/main/kotlin/ru/semper_viventem/backdrop/BackdropBehavior.kt index 8e9164c..27a9be1 100644 --- a/backdrop/src/main/kotlin/ru/semper_viventem/backdrop/BackdropBehavior.kt +++ b/backdrop/src/main/kotlin/ru/semper_viventem/backdrop/BackdropBehavior.kt @@ -173,6 +173,7 @@ class BackdropBehavior : CoordinatorLayout.Behavior { backLayout.y = toolbar.y + toolbar.height } + frontLayout.layoutParams.height = parent.height - calculateTopPosition(backLayout, toolbar).toInt() drawDropState(frontLayout, toolbar, backLayout, false) with(toolbar) {