diff --git a/opentasks/src/main/res/layout/activity_task_twopane.xml b/opentasks/src/main/res/layout/activity_task_twopane.xml
index 1a58bc8ea015ba8543713b1959bc9e21397781f8..7651702e28941fcf972ae8589e09e13a39908d4e 100644
--- a/opentasks/src/main/res/layout/activity_task_twopane.xml
+++ b/opentasks/src/main/res/layout/activity_task_twopane.xml
@@ -41,6 +41,7 @@
app:layout_constraintTop_toBottomOf="@id/appbar"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="@id/divider"
/>
+ app:layout_constraintEnd_toEndOf="@id/divider"/>
+
+
\ No newline at end of file
diff --git a/opentasks/src/main/res/layout/activity_task_twopane_small.xml b/opentasks/src/main/res/layout/activity_task_twopane_small.xml
index 37ad2b842774fc2f7a9a1e21a89cd3b668a1236b..46de4d1afb9b4924409e24bb61f50729704436f1 100644
--- a/opentasks/src/main/res/layout/activity_task_twopane_small.xml
+++ b/opentasks/src/main/res/layout/activity_task_twopane_small.xml
@@ -41,6 +41,7 @@
app:layout_constraintTop_toBottomOf="@id/appbar"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="@id/divider"
/>
+ app:layout_constraintEnd_toEndOf="@id/divider"/>
+
\ No newline at end of file