From 63af03bedd543be78d0c44367372cf651cf95bef Mon Sep 17 00:00:00 2001 From: ganfra Date: Wed, 14 Aug 2019 14:18:42 +0200 Subject: [PATCH] List: add overScroll --- vector/src/main/res/layout/fragment_create_direct_room.xml | 1 + .../res/layout/fragment_create_direct_room_directory_users.xml | 1 + vector/src/main/res/layout/fragment_group_list.xml | 1 + vector/src/main/res/layout/fragment_public_rooms.xml | 1 + vector/src/main/res/layout/fragment_room_detail.xml | 1 + vector/src/main/res/layout/fragment_room_list.xml | 3 ++- 6 files changed, 7 insertions(+), 1 deletion(-) diff --git a/vector/src/main/res/layout/fragment_create_direct_room.xml b/vector/src/main/res/layout/fragment_create_direct_room.xml index 41109b14..66a040b9 100644 --- a/vector/src/main/res/layout/fragment_create_direct_room.xml +++ b/vector/src/main/res/layout/fragment_create_direct_room.xml @@ -127,6 +127,7 @@ android:layout_width="0dp" android:layout_height="0dp" android:fastScrollEnabled="true" + android:overScrollMode="always" android:scrollbars="vertical" app:layout_behavior="@string/appbar_scrolling_view_behavior" app:layout_constraintBottom_toBottomOf="parent" diff --git a/vector/src/main/res/layout/fragment_create_direct_room_directory_users.xml b/vector/src/main/res/layout/fragment_create_direct_room_directory_users.xml index 8416f35d..40821096 100644 --- a/vector/src/main/res/layout/fragment_create_direct_room_directory_users.xml +++ b/vector/src/main/res/layout/fragment_create_direct_room_directory_users.xml @@ -95,6 +95,7 @@ android:layout_height="0dp" android:layout_marginTop="16dp" android:fastScrollEnabled="true" + android:overScrollMode="always" android:scrollbars="vertical" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" diff --git a/vector/src/main/res/layout/fragment_group_list.xml b/vector/src/main/res/layout/fragment_group_list.xml index c371b465..5ccd63a2 100644 --- a/vector/src/main/res/layout/fragment_group_list.xml +++ b/vector/src/main/res/layout/fragment_group_list.xml @@ -9,6 +9,7 @@ android:id="@+id/groupListEpoxyRecyclerView" android:layout_width="match_parent" android:layout_height="match_parent" + android:overScrollMode="always" tools:listitem="@layout/item_group" /> diff --git a/vector/src/main/res/layout/fragment_public_rooms.xml b/vector/src/main/res/layout/fragment_public_rooms.xml index 99fbd896..ceb45b27 100644 --- a/vector/src/main/res/layout/fragment_public_rooms.xml +++ b/vector/src/main/res/layout/fragment_public_rooms.xml @@ -12,6 +12,7 @@ android:layout_width="match_parent" android:layout_height="match_parent" android:background="?riotx_header_panel_background" + android:overScrollMode="always" app:layout_behavior="@string/appbar_scrolling_view_behavior" tools:listitem="@layout/item_public_room" /> diff --git a/vector/src/main/res/layout/fragment_room_detail.xml b/vector/src/main/res/layout/fragment_room_detail.xml index dee37e9d..7b179323 100644 --- a/vector/src/main/res/layout/fragment_room_detail.xml +++ b/vector/src/main/res/layout/fragment_room_detail.xml @@ -98,6 +98,7 @@ android:id="@+id/recyclerView" android:layout_width="0dp" android:layout_height="0dp" + android:overScrollMode="always" app:layout_constraintBottom_toTopOf="@+id/recyclerViewBarrier" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" diff --git a/vector/src/main/res/layout/fragment_room_list.xml b/vector/src/main/res/layout/fragment_room_list.xml index c3fa4530..0259ca1e 100644 --- a/vector/src/main/res/layout/fragment_room_list.xml +++ b/vector/src/main/res/layout/fragment_room_list.xml @@ -10,7 +10,8 @@ + android:layout_height="match_parent" + android:overScrollMode="always" />