aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-12-03 13:26:05 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-12-03 13:26:05 +0000
commit0d80bee501e5feb9e0e1781a61c9bc771189ede4 (patch)
treee4430e42705e3457fa7e5bc122b3cd3f916cf3f8
parent45f4fae786086813c1a33295e6aae02ce7679b1a (diff)
downloadinfinity-for-reddit-0d80bee501e5feb9e0e1781a61c9bc771189ede4.tar
infinity-for-reddit-0d80bee501e5feb9e0e1781a61c9bc771189ede4.tar.gz
infinity-for-reddit-0d80bee501e5feb9e0e1781a61c9bc771189ede4.tar.bz2
infinity-for-reddit-0d80bee501e5feb9e0e1781a61c9bc771189ede4.tar.lz
infinity-for-reddit-0d80bee501e5feb9e0e1781a61c9bc771189ede4.tar.xz
infinity-for-reddit-0d80bee501e5feb9e0e1781a61c9bc771189ede4.tar.zst
infinity-for-reddit-0d80bee501e5feb9e0e1781a61c9bc771189ede4.zip
Fix refreshing in ViewPostDetailFragment too easily in two-pane layout.
-rw-r--r--app/src/main/res/layout/item_post_detail_no_preview.xml3
-rw-r--r--app/src/main/res/layout/item_post_detail_text.xml3
2 files changed, 4 insertions, 2 deletions
diff --git a/app/src/main/res/layout/item_post_detail_no_preview.xml b/app/src/main/res/layout/item_post_detail_no_preview.xml
index 01aabe38..e96a45a3 100644
--- a/app/src/main/res/layout/item_post_detail_no_preview.xml
+++ b/app/src/main/res/layout/item_post_detail_no_preview.xml
@@ -110,7 +110,8 @@
android:layout_marginTop="8dp"
android:layout_marginStart="8dp"
android:layout_marginEnd="8dp"
- android:visibility="gone" />
+ android:visibility="gone"
+ android:nestedScrollingEnabled="false" />
<com.nex3z.flowlayout.FlowLayout
android:layout_width="match_parent"
diff --git a/app/src/main/res/layout/item_post_detail_text.xml b/app/src/main/res/layout/item_post_detail_text.xml
index 2043ad98..936ef740 100644
--- a/app/src/main/res/layout/item_post_detail_text.xml
+++ b/app/src/main/res/layout/item_post_detail_text.xml
@@ -110,7 +110,8 @@
android:layout_marginTop="8dp"
android:layout_marginStart="8dp"
android:layout_marginEnd="8dp"
- android:visibility="gone" />
+ android:visibility="gone"
+ android:nestedScrollingEnabled="false" />
<com.nex3z.flowlayout.FlowLayout
android:layout_width="match_parent"