aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
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
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')
-rw-r--r--app/src/main/res/layout/activity_custom_theme_listing.xml1
-rw-r--r--app/src/main/res/layout/activity_customize_theme.xml1
-rw-r--r--app/src/main/res/layout/activity_report.xml1
-rw-r--r--app/src/main/res/layout/activity_rules.xml1
-rw-r--r--app/src/main/res/layout/activity_trending.xml3
-rw-r--r--app/src/main/res/layout/fragment_crash_reports.xml2
-rw-r--r--app/src/main/res/layout/fragment_flair_bottom_sheet.xml4
-rw-r--r--app/src/main/res/layout/fragment_translation.xml2
-rw-r--r--app/src/main/res/layout/fragment_view_post_detail.xml2
9 files changed, 14 insertions, 3 deletions
diff --git a/app/src/main/res/layout/activity_custom_theme_listing.xml b/app/src/main/res/layout/activity_custom_theme_listing.xml
index 92a200af..e0d88d70 100644
--- a/app/src/main/res/layout/activity_custom_theme_listing.xml
+++ b/app/src/main/res/layout/activity_custom_theme_listing.xml
@@ -37,6 +37,7 @@
android:id="@+id/recycler_view_customize_theme_listing_activity"
android:layout_width="match_parent"
android:layout_height="match_parent"
+ app:layoutManager=".customviews.LinearLayoutManagerBugFixed"
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
<com.google.android.material.floatingactionbutton.FloatingActionButton
diff --git a/app/src/main/res/layout/activity_customize_theme.xml b/app/src/main/res/layout/activity_customize_theme.xml
index c7183da9..bd67a775 100644
--- a/app/src/main/res/layout/activity_customize_theme.xml
+++ b/app/src/main/res/layout/activity_customize_theme.xml
@@ -38,6 +38,7 @@
android:id="@+id/recycler_view_customize_theme_activity"
android:layout_width="match_parent"
android:layout_height="match_parent"
+ app:layoutManager=".customviews.LinearLayoutManagerBugFixed"
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
</androidx.coordinatorlayout.widget.CoordinatorLayout> \ No newline at end of file
diff --git a/app/src/main/res/layout/activity_report.xml b/app/src/main/res/layout/activity_report.xml
index ff8ecb4b..a0d114b6 100644
--- a/app/src/main/res/layout/activity_report.xml
+++ b/app/src/main/res/layout/activity_report.xml
@@ -27,6 +27,7 @@
android:id="@+id/recycler_view_report_activity"
android:layout_width="match_parent"
android:layout_height="match_parent"
+ app:layoutManager=".customviews.LinearLayoutManagerBugFixed"
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
</androidx.coordinatorlayout.widget.CoordinatorLayout> \ No newline at end of file
diff --git a/app/src/main/res/layout/activity_rules.xml b/app/src/main/res/layout/activity_rules.xml
index 377c4fe1..0cb088b2 100644
--- a/app/src/main/res/layout/activity_rules.xml
+++ b/app/src/main/res/layout/activity_rules.xml
@@ -44,6 +44,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:clipToPadding="false"
+ app:layoutManager=".customviews.LinearLayoutManagerBugFixed"
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
<TextView
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>
diff --git a/app/src/main/res/layout/fragment_crash_reports.xml b/app/src/main/res/layout/fragment_crash_reports.xml
index bc87d22c..3756ef57 100644
--- a/app/src/main/res/layout/fragment_crash_reports.xml
+++ b/app/src/main/res/layout/fragment_crash_reports.xml
@@ -3,4 +3,6 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ app:layoutManager=".customviews.LinearLayoutManagerBugFixed"
tools:context=".settings.CrashReportsFragment" /> \ No newline at end of file
diff --git a/app/src/main/res/layout/fragment_flair_bottom_sheet.xml b/app/src/main/res/layout/fragment_flair_bottom_sheet.xml
index 7827bb3a..f3ed6751 100644
--- a/app/src/main/res/layout/fragment_flair_bottom_sheet.xml
+++ b/app/src/main/res/layout/fragment_flair_bottom_sheet.xml
@@ -3,6 +3,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="vertical"
tools:application=".FlairBottomSheetFragment">
@@ -39,6 +40,7 @@
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/recycler_view_bottom_sheet_fragment"
android:layout_width="match_parent"
- android:layout_height="match_parent" />
+ android:layout_height="match_parent"
+ app:layoutManager=".customviews.LinearLayoutManagerBugFixed" />
</LinearLayout> \ No newline at end of file
diff --git a/app/src/main/res/layout/fragment_translation.xml b/app/src/main/res/layout/fragment_translation.xml
index a4a58ed6..a0cb2ea7 100644
--- a/app/src/main/res/layout/fragment_translation.xml
+++ b/app/src/main/res/layout/fragment_translation.xml
@@ -3,5 +3,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/recycler_view_translation_fragment"
+ app:layoutManager=".customviews.LinearLayoutManagerBugFixed"
tools:context=".settings.TranslationFragment" /> \ No newline at end of file
diff --git a/app/src/main/res/layout/fragment_view_post_detail.xml b/app/src/main/res/layout/fragment_view_post_detail.xml
index 6a6a4a4d..72b9e3d0 100644
--- a/app/src/main/res/layout/fragment_view_post_detail.xml
+++ b/app/src/main/res/layout/fragment_view_post_detail.xml
@@ -18,7 +18,7 @@
android:layout_height="match_parent"
android:paddingBottom="144dp"
android:clipToPadding="false"
- app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" />
+ app:layoutManager=".customviews.LinearLayoutManagerBugFixed" />
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>