Using a ScrollView for the Session overview screen

This commit is contained in:
Maxime NATUREL 2022-09-08 13:31:26 +02:00
parent a661f9c3fb
commit 9553fe0648
1 changed files with 28 additions and 22 deletions

View File

@ -1,10 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<im.vector.app.features.settings.devices.v2.list.SessionInfoView
android:id="@+id/sessionOverviewInfo"
android:layout_width="0dp"
@ -21,10 +25,12 @@
android:id="@+id/sessionOverviewEntryDetails"
android:layout_width="0dp"
android:layout_height="wrap_content"
app:sessionOverviewEntryTitle="@string/device_manager_session_details_title"
app:sessionOverviewEntryDescription="@string/device_manager_session_details_description"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/sessionOverviewInfo" />
app:layout_constraintTop_toBottomOf="@id/sessionOverviewInfo"
app:sessionOverviewEntryDescription="@string/device_manager_session_details_description"
app:sessionOverviewEntryTitle="@string/device_manager_session_details_title" />
</androidx.constraintlayout.widget.ConstraintLayout>
</ScrollView>