Skip to content

Commit

Permalink
Disable over scroll mode for nested scroll view and recycler view
Browse files Browse the repository at this point in the history
  • Loading branch information
msasikanth authored and andresmr committed Dec 20, 2023
1 parent 24d4645 commit cbcabca
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions app/src/main/res/layout-land/fragment_tei_data.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@

<androidx.core.widget.NestedScrollView
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent"
android:overScrollMode="never">

<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
Expand Down Expand Up @@ -116,7 +117,8 @@
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/cardLayout"
tools:listitem="@layout/item_event" />
tools:listitem="@layout/item_event"
android:overScrollMode="never"/>

<TextView
android:id="@+id/empty_teis"
Expand Down
6 changes: 4 additions & 2 deletions app/src/main/res/layout/fragment_tei_data.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@

<androidx.core.widget.NestedScrollView
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent"
android:overScrollMode="never">

<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
Expand Down Expand Up @@ -118,7 +119,8 @@
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/cardLayout"
tools:listitem="@layout/item_event" />
tools:listitem="@layout/item_event"
android:overScrollMode="never"/>

<TextView
android:id="@+id/empty_teis"
Expand Down

0 comments on commit cbcabca

Please sign in to comment.