summaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorEbrahim Byagowi <ebrahim@gnu.org>2020-04-12 18:39:45 +0430
committerEbrahim Byagowi <ebrahim@gnu.org>2020-04-21 19:30:17 +0430
commit6f74af75920cabf33c16b08bce1d4297687e8d08 (patch)
tree322a548bbbfeaa68c264f179940442c27f7e6ac2 /app/src/main/res
parent17962b57a052593827628d2db9932318ce2cb514 (diff)
downloadAntennaPod-6f74af75920cabf33c16b08bce1d4297687e8d08.zip
Wrap scrollable childs of viewpager in NestedScrollableHost
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/feeditem_fragment.xml16
-rw-r--r--app/src/main/res/layout/item_description_fragment.xml21
2 files changed, 25 insertions, 12 deletions
diff --git a/app/src/main/res/layout/feeditem_fragment.xml b/app/src/main/res/layout/feeditem_fragment.xml
index fe1063d85..8dfbbe562 100644
--- a/app/src/main/res/layout/feeditem_fragment.xml
+++ b/app/src/main/res/layout/feeditem_fragment.xml
@@ -171,12 +171,18 @@
</LinearLayout>
- <de.danoeh.antennapod.view.ShownotesWebView
- android:id="@+id/webvDescription"
- android:layout_width="match_parent"
+ <de.danoeh.antennapod.view.NestedScrollableHost
android:layout_below="@id/header"
- android:layout_height="match_parent"
- android:foreground="?android:windowContentOverlay" />
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+ <de.danoeh.antennapod.view.ShownotesWebView
+ android:id="@+id/webvDescription"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:foreground="?android:windowContentOverlay" />
+
+ </de.danoeh.antennapod.view.NestedScrollableHost>
<FrameLayout
android:layout_width="match_parent"
diff --git a/app/src/main/res/layout/item_description_fragment.xml b/app/src/main/res/layout/item_description_fragment.xml
index 96382eae3..3766cf805 100644
--- a/app/src/main/res/layout/item_description_fragment.xml
+++ b/app/src/main/res/layout/item_description_fragment.xml
@@ -1,11 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
-<androidx.core.widget.NestedScrollView
-xmlns:android="http://schemas.android.com/apk/res/android"
-android:layout_width="match_parent"
-android:layout_height="match_parent"
-android:fillViewport="false">
- <de.danoeh.antennapod.view.ShownotesWebView
+<androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:fillViewport="false">
+
+ <de.danoeh.antennapod.view.NestedScrollableHost
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+ <de.danoeh.antennapod.view.ShownotesWebView
android:id="@+id/webview"
android:layout_width="match_parent"
- android:layout_height="wrap_content"/>
+ android:layout_height="wrap_content" />
+
+ </de.danoeh.antennapod.view.NestedScrollableHost>
+
</androidx.core.widget.NestedScrollView> \ No newline at end of file