From 11fecb1914cd9219000246606016eb86a8e113fa Mon Sep 17 00:00:00 2001 From: Nik Clayton Date: Tue, 26 Sep 2023 15:57:35 +0200 Subject: [PATCH] feat: Show vertical scrollbars on scrollable lists (#96) Display normal Android (i.e., fading) scrollbars when the user scrolls in lists. --- app/lint-baseline.xml | 2 +- app/src/main/res/layout-sw640dp/fragment_timeline.xml | 3 ++- .../res/layout-sw640dp/fragment_timeline_notifications.xml | 4 ++-- app/src/main/res/layout/activity_announcements.xml | 3 ++- app/src/main/res/layout/activity_drafts.xml | 1 + app/src/main/res/layout/activity_filters.xml | 1 + app/src/main/res/layout/activity_followed_tags.xml | 1 + app/src/main/res/layout/activity_lists.xml | 3 ++- app/src/main/res/layout/activity_scheduled_status.xml | 3 ++- app/src/main/res/layout/fragment_account_list.xml | 3 ++- app/src/main/res/layout/fragment_accounts_in_list.xml | 1 + app/src/main/res/layout/fragment_instance_list.xml | 3 ++- app/src/main/res/layout/fragment_lists_for_account.xml | 1 + app/src/main/res/layout/fragment_report_statuses.xml | 5 ++--- app/src/main/res/layout/fragment_search.xml | 3 +-- app/src/main/res/layout/fragment_timeline.xml | 3 ++- app/src/main/res/layout/fragment_timeline_notifications.xml | 3 ++- app/src/main/res/layout/fragment_trending_links.xml | 3 ++- app/src/main/res/layout/fragment_trending_tags.xml | 3 ++- app/src/main/res/layout/item_conversation.xml | 1 + 20 files changed, 32 insertions(+), 18 deletions(-) diff --git a/app/lint-baseline.xml b/app/lint-baseline.xml index d8c1d08f5..faf24b90d 100644 --- a/app/lint-baseline.xml +++ b/app/lint-baseline.xml @@ -4300,7 +4300,7 @@ errorLine2=" ~~~~~~~~"> diff --git a/app/src/main/res/layout-sw640dp/fragment_timeline.xml b/app/src/main/res/layout-sw640dp/fragment_timeline.xml index f4c2c99ce..22b9e6f3f 100644 --- a/app/src/main/res/layout-sw640dp/fragment_timeline.xml +++ b/app/src/main/res/layout-sw640dp/fragment_timeline.xml @@ -22,7 +22,8 @@ + android:layout_height="match_parent" + android:scrollbars="vertical" /> @@ -40,7 +39,8 @@ + android:layout_height="match_parent" + android:scrollbars="vertical" /> + android:layout_height="match_parent" + android:scrollbars="vertical" /> + android:layout_height="match_parent" + android:scrollbars="vertical" /> + android:layout_height="match_parent" + android:scrollbars="vertical" /> + android:layout_height="match_parent" + android:scrollbars="vertical" /> + android:layout_height="match_parent" + android:scrollbars="vertical" /> diff --git a/app/src/main/res/layout/fragment_report_statuses.xml b/app/src/main/res/layout/fragment_report_statuses.xml index a93a418b4..79416817f 100644 --- a/app/src/main/res/layout/fragment_report_statuses.xml +++ b/app/src/main/res/layout/fragment_report_statuses.xml @@ -16,9 +16,8 @@ - - + android:layout_height="match_parent" + android:scrollbars="vertical" /> - - diff --git a/app/src/main/res/layout/fragment_timeline.xml b/app/src/main/res/layout/fragment_timeline.xml index 0666b0411..29c38e0e5 100644 --- a/app/src/main/res/layout/fragment_timeline.xml +++ b/app/src/main/res/layout/fragment_timeline.xml @@ -16,7 +16,8 @@ + android:layout_height="match_parent" + android:scrollbars="vertical" /> + android:layout_height="match_parent" + android:scrollbars="vertical" /> + android:layout_height="match_parent" + android:scrollbars="vertical" /> + android:layout_height="match_parent" + android:scrollbars="vertical" />