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,30 +1,36 @@
<?xml version="1.0" encoding="utf-8"?> <?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:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
<im.vector.app.features.settings.devices.v2.list.SessionInfoView <androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/sessionOverviewInfo" android:layout_width="match_parent"
android:layout_width="0dp" android:layout_height="wrap_content">
android:layout_height="wrap_content"
android:layout_marginHorizontal="16dp"
android:layout_marginVertical="24dp"
android:visibility="gone"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:visibility="visible" />
<im.vector.app.features.settings.devices.v2.overview.SessionOverviewEntryView <im.vector.app.features.settings.devices.v2.list.SessionInfoView
android:id="@+id/sessionOverviewEntryDetails" android:id="@+id/sessionOverviewInfo"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
app:sessionOverviewEntryTitle="@string/device_manager_session_details_title" android:layout_marginHorizontal="16dp"
app:sessionOverviewEntryDescription="@string/device_manager_session_details_description" android:layout_marginVertical="24dp"
app:layout_constraintEnd_toEndOf="parent" android:visibility="gone"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@id/sessionOverviewInfo" /> app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:visibility="visible" />
</androidx.constraintlayout.widget.ConstraintLayout> <im.vector.app.features.settings.devices.v2.overview.SessionOverviewEntryView
android:id="@+id/sessionOverviewEntryDetails"
android:layout_width="0dp"
android:layout_height="wrap_content"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
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>