From 0d80bee501e5feb9e0e1781a61c9bc771189ede4 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Fri, 3 Dec 2021 21:26:05 +0800 Subject: Fix refreshing in ViewPostDetailFragment too easily in two-pane layout. --- app/src/main/res/layout/item_post_detail_no_preview.xml | 3 ++- app/src/main/res/layout/item_post_detail_text.xml | 3 ++- 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" /> + android:visibility="gone" + android:nestedScrollingEnabled="false" />