From 518f1fd782fa7e2a3831399dd5781ef93fc0bfe7 Mon Sep 17 00:00:00 2001 From: Arthur Schamroth <schamrotharthur@gmail.com> Date: Mon, 24 Apr 2023 16:27:05 +0200 Subject: [PATCH] Scrollview in program view popup --- .../main/res/layout/detail_program_popup.xml | 39 +++++++++++-------- 1 file changed, 23 insertions(+), 16 deletions(-) diff --git a/app/src/main/res/layout/detail_program_popup.xml b/app/src/main/res/layout/detail_program_popup.xml index 570c1e3..7ebceef 100644 --- a/app/src/main/res/layout/detail_program_popup.xml +++ b/app/src/main/res/layout/detail_program_popup.xml @@ -34,34 +34,41 @@ </LinearLayout> - <androidx.constraintlayout.widget.ConstraintLayout - android:id="@+id/constraintLayout2" + <ScrollView android:layout_width="387dp" android:layout_height="524dp" - android:layout_marginBottom="50dp" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/linearLayout"> - <RelativeLayout - android:layout_width="290dp" + <androidx.constraintlayout.widget.ConstraintLayout + android:id="@+id/constraintLayout2" + android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_marginTop="30dp" - app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toTopOf="parent"> + android:layout_marginBottom="50dp"> + + <RelativeLayout + android:layout_width="290dp" + android:layout_height="400dp" + app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent"> + + <ListView + android:id="@+id/list_exo_program" + android:layout_width="match_parent" + android:layout_height="wrap_content"> - <ListView - android:id="@+id/list_exo_program" - android:layout_width="match_parent" - android:layout_height="wrap_content"> + </ListView> - </ListView> + </RelativeLayout> - </RelativeLayout> + </androidx.constraintlayout.widget.ConstraintLayout> - </androidx.constraintlayout.widget.ConstraintLayout> + </ScrollView> <ImageView android:id="@+id/close_btn" -- GitLab