From 6c725a1a7536685651ad2be2e443724df037ca53 Mon Sep 17 00:00:00 2001 From: Onuray Sahin Date: Fri, 19 Aug 2022 12:26:12 +0300 Subject: [PATCH] Add custom view into the layout. --- .../v2/VectorSettingsDevicesFragment.kt | 4 +-- .../devices/v2/list/CurrentSessionView.kt | 35 +++++++++++++++++++ .../res/layout/fragment_settings_devices.xml | 24 +++++++++++-- 3 files changed, 59 insertions(+), 4 deletions(-) create mode 100644 vector/src/main/java/im/vector/app/features/settings/devices/v2/list/CurrentSessionView.kt diff --git a/vector/src/main/java/im/vector/app/features/settings/devices/v2/VectorSettingsDevicesFragment.kt b/vector/src/main/java/im/vector/app/features/settings/devices/v2/VectorSettingsDevicesFragment.kt index 4fc429c865..6b60e9b020 100644 --- a/vector/src/main/java/im/vector/app/features/settings/devices/v2/VectorSettingsDevicesFragment.kt +++ b/vector/src/main/java/im/vector/app/features/settings/devices/v2/VectorSettingsDevicesFragment.kt @@ -61,12 +61,12 @@ class VectorSettingsDevicesFragment @Inject constructor() : VectorBaseFragment + + + + + app:layout_constraintTop_toBottomOf="@id/deviceListCurrentSession" />