aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/activity_trending.xml
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-08-24 14:54:30 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-08-24 14:54:30 +0000
commitde8df061ed760a9390d991a3b3b01c23a5fd4352 (patch)
tree4b8a494d91402c80460cb39f0351521c0c6a047d /app/src/main/res/layout/activity_trending.xml
parent386b6e22ca18bb77cfcde9480ca44b11fa2c0a54 (diff)
downloadinfinity-for-reddit-de8df061ed760a9390d991a3b3b01c23a5fd4352.tar
infinity-for-reddit-de8df061ed760a9390d991a3b3b01c23a5fd4352.tar.gz
infinity-for-reddit-de8df061ed760a9390d991a3b3b01c23a5fd4352.tar.bz2
infinity-for-reddit-de8df061ed760a9390d991a3b3b01c23a5fd4352.tar.lz
infinity-for-reddit-de8df061ed760a9390d991a3b3b01c23a5fd4352.tar.xz
infinity-for-reddit-de8df061ed760a9390d991a3b3b01c23a5fd4352.tar.zst
infinity-for-reddit-de8df061ed760a9390d991a3b3b01c23a5fd4352.zip
Try to fix java.lang.IndexOutOfBoundsException in com.google.android.material.appbar.HeaderScrollingViewBehavior.layoutChild and com.google.android.material.appbar.HeaderScrollingViewBehavior.onMeasureChild.
Diffstat (limited to 'app/src/main/res/layout/activity_trending.xml')
-rw-r--r--app/src/main/res/layout/activity_trending.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/src/main/res/layout/activity_trending.xml b/app/src/main/res/layout/activity_trending.xml
index 6c78425f..9bfe6798 100644
--- a/app/src/main/res/layout/activity_trending.xml
+++ b/app/src/main/res/layout/activity_trending.xml
@@ -42,7 +42,8 @@
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recycler_view_trending_activity"
android:layout_width="match_parent"
- android:layout_height="match_parent" />
+ android:layout_height="match_parent"
+ app:layoutManager=".customviews.LinearLayoutManagerBugFixed" />
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>