From d0c733e81b9ee4daf6f687a67e43531390bcaddb Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Thu, 16 Jan 2025 11:54:20 +0100 Subject: [PATCH] Prevent huge list area when not required --- app/src/main/res/layout/history_call_list_cell.xml | 14 +++++++------- app/src/main/res/layout/history_fragment.xml | 6 ++---- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/app/src/main/res/layout/history_call_list_cell.xml b/app/src/main/res/layout/history_call_list_cell.xml index 3adcdd5f3..68d70c5b2 100644 --- a/app/src/main/res/layout/history_call_list_cell.xml +++ b/app/src/main/res/layout/history_call_list_cell.xml @@ -14,39 +14,40 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginStart="16dp" - android:layout_marginEnd="16dp" - android:paddingTop="16dp" - android:paddingBottom="16dp"> + android:layout_marginEnd="16dp"> + app:layout_constraintTop_toTopOf="@id/direction_label" + app:layout_constraintBottom_toBottomOf="@id/direction_label" /> + app:layout_constraintTop_toTopOf="parent"/>