diff --git a/app/src/main/java/org/dhis2/usescases/programEventDetail/ProgramEventDetailActivity.kt b/app/src/main/java/org/dhis2/usescases/programEventDetail/ProgramEventDetailActivity.kt index 6e1cdab635d..7b7dbb027fa 100644 --- a/app/src/main/java/org/dhis2/usescases/programEventDetail/ProgramEventDetailActivity.kt +++ b/app/src/main/java/org/dhis2/usescases/programEventDetail/ProgramEventDetailActivity.kt @@ -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, @@ -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) }