Skip to content

Commit

Permalink
Fix FAB and navigation bar animation on program even detail screen
Browse files Browse the repository at this point in the history
  • Loading branch information
Siddharth Agarwal committed Nov 7, 2024
1 parent 924e7d4 commit 1f8ea75
Showing 1 changed file with 28 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,20 @@ class ProgramEventDetailActivity :
ConstraintSet.BOTTOM,
16.dp,
)
initSet.connect(
R.id.fragmentContainer,
ConstraintSet.BOTTOM,
ConstraintSet.PARENT_ID,
ConstraintSet.BOTTOM,
0,
)
initSet.connect(
R.id.addEventButton,
ConstraintSet.BOTTOM,
R.id.fragmentContainer,
ConstraintSet.BOTTOM,
16.dp,
)
} else {
initSet.connect(
R.id.fragmentContainer,
Expand All @@ -368,6 +382,20 @@ class ProgramEventDetailActivity :
ConstraintSet.BOTTOM,
0,
)
initSet.connect(
R.id.fragmentContainer,
ConstraintSet.BOTTOM,
R.id.navigationBar,
ConstraintSet.TOP,
0,
)
initSet.connect(
R.id.addEventButton,
ConstraintSet.BOTTOM,
R.id.navigationBar,
ConstraintSet.TOP,
16.dp,
)
}
initSet.applyTo(binding.backdropLayout)
}
Expand Down

0 comments on commit 1f8ea75

Please sign in to comment.