diff --git a/changelog.d/7310.bugfix b/changelog.d/7310.bugfix new file mode 100644 index 0000000000..3570b2d3ad --- /dev/null +++ b/changelog.d/7310.bugfix @@ -0,0 +1 @@ +[Device Management] Long session names not handled well 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">