From 7119c966e6bfcdbf4ae3da2936aa31a9c0c20490 Mon Sep 17 00:00:00 2001 From: Sasikanth Miriyampalli Date: Tue, 12 Dec 2023 09:41:30 +0530 Subject: [PATCH] Wrap `cardLayout` and `tei_recycler` in nested scroll view We have to 2 options to make the entire content scroll in this screen. 1. We migrate the events items to use Compose as well and move them into `TeiDetailDashboard`. Which is ideal, but requires significant migration of UI and associated code with it. Since that's out of scope didn't go with that. 2. Since in earlier commit I have change the `LazyColumn` to `Column`, we can now place the card and the events list inside a nested scroll view to make the entire content scroll. The 2nd option seems like a sensible change for now, until we migrate events list and eventually this entire screen. --- app/src/main/res/layout/fragment_tei_data.xml | 184 ++++++++++-------- 1 file changed, 99 insertions(+), 85 deletions(-) diff --git a/app/src/main/res/layout/fragment_tei_data.xml b/app/src/main/res/layout/fragment_tei_data.xml index 84e5176d80d..fb1e026ea8d 100644 --- a/app/src/main/res/layout/fragment_tei_data.xml +++ b/app/src/main/res/layout/fragment_tei_data.xml @@ -46,94 +46,108 @@ - - - - - + android:layout_height="match_parent"> - - - - + android:layout_height="match_parent"> + + + + + + + + + + + + + + + + + + - + + - - - - - + + app:layout_constraintEnd_toEndOf="parent" /> - - \ No newline at end of file + +