From bcf315aece5f69595ac8792f409a4770197dda20 Mon Sep 17 00:00:00 2001 From: Maxime NATUREL Date: Fri, 7 Oct 2022 10:11:04 +0200 Subject: [PATCH] Fix UI for long session names in SessionDetailsContentItem --- .../layout/item_session_details_content.xml | 22 +++++++++++++------ .../layout/item_session_details_header.xml | 3 ++- 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/vector/src/main/res/layout/item_session_details_content.xml b/vector/src/main/res/layout/item_session_details_content.xml index fefae65b3d..98a21aa923 100644 --- a/vector/src/main/res/layout/item_session_details_content.xml +++ b/vector/src/main/res/layout/item_session_details_content.xml @@ -3,8 +3,7 @@ xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" - android:layout_height="wrap_content" - android:paddingTop="14dp"> + android:layout_height="wrap_content"> + app:layout_constraintTop_toTopOf="@id/sessionDetailsContentTop" + tools:text="Element Web: Firefox" /> + app:layout_constraintTop_toTopOf="@id/sessionDetailsContentBarrier" /> + + diff --git a/vector/src/main/res/layout/item_session_details_header.xml b/vector/src/main/res/layout/item_session_details_header.xml index 571a541b2b..64e0efac1f 100644 --- a/vector/src/main/res/layout/item_session_details_header.xml +++ b/vector/src/main/res/layout/item_session_details_header.xml @@ -3,7 +3,8 @@ xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" - android:layout_height="wrap_content"> + android:layout_height="wrap_content" + android:paddingBottom="10dp">