From 8f28851642617aba0ccd8432860e72c484688a06 Mon Sep 17 00:00:00 2001 From: Danilo Del Busso Date: Mon, 29 Mar 2021 00:21:18 +0200 Subject: [PATCH] Refactor scroll views in settings activities --- .../main/res/layout/activity_manage_data.xml | 5 +-- .../main/res/layout/activity_preferences.xml | 4 +-- app/src/main/res/layout/activity_settings.xml | 4 +-- .../main/res/layout/activity_upload_scans.xml | 31 +++++++------------ app/src/main/res/layout/activity_welcome.xml | 2 +- 5 files changed, 19 insertions(+), 27 deletions(-) diff --git a/app/src/main/res/layout/activity_manage_data.xml b/app/src/main/res/layout/activity_manage_data.xml index 61d11ec..841d585 100644 --- a/app/src/main/res/layout/activity_manage_data.xml +++ b/app/src/main/res/layout/activity_manage_data.xml @@ -10,6 +10,7 @@ android:id="@+id/scrollView" android:layout_width="392dp" android:layout_height="400dp" + android:isScrollContainer="false" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.5" @@ -21,8 +22,8 @@ + tools:context=".ui.fragments.PreferencesActivity"> - - - - + android:layout_height="wrap_content" + android:layout_marginHorizontal="20dp" + android:layout_marginVertical="10dp" + android:scrollIndicators="right" + android:textColor="@color/black" + android:textSize="18sp" />