Skip to content

Commit

Permalink
Fix bug with front layout size
Browse files Browse the repository at this point in the history
Signed-off-by: Constantine <[email protected]>
  • Loading branch information
Semper-Viventem committed Feb 10, 2019
1 parent f77ae97 commit 1cced40
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ class BackdropBehavior : CoordinatorLayout.Behavior<View> {
backLayout.y = toolbar.y + toolbar.height
}

frontLayout.layoutParams.height = parent.height - calculateTopPosition(backLayout, toolbar).toInt()
drawDropState(frontLayout, toolbar, backLayout, false)

with(toolbar) {
Expand Down

0 comments on commit 1cced40

Please sign in to comment.