aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-08-02 09:43:17 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-08-02 09:43:17 +0000
commit5b29d2c841a1229401bc4627cf538e9ed6375b60 (patch)
tree2b4d20be7bae87b5477075b5fb89df23fb216956 /app/src/main/res
parent722760254f0f0239b9aa23e65416cfede2204884 (diff)
downloadinfinity-for-reddit-5b29d2c841a1229401bc4627cf538e9ed6375b60.tar
infinity-for-reddit-5b29d2c841a1229401bc4627cf538e9ed6375b60.tar.gz
infinity-for-reddit-5b29d2c841a1229401bc4627cf538e9ed6375b60.tar.bz2
infinity-for-reddit-5b29d2c841a1229401bc4627cf538e9ed6375b60.tar.lz
infinity-for-reddit-5b29d2c841a1229401bc4627cf538e9ed6375b60.tar.xz
infinity-for-reddit-5b29d2c841a1229401bc4627cf538e9ed6375b60.tar.zst
infinity-for-reddit-5b29d2c841a1229401bc4627cf538e9ed6375b60.zip
Swipe to refresh in WikiActivity.
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/activity_wiki.xml17
1 files changed, 12 insertions, 5 deletions
diff --git a/app/src/main/res/layout/activity_wiki.xml b/app/src/main/res/layout/activity_wiki.xml
index 778cc76b..c8f49864 100644
--- a/app/src/main/res/layout/activity_wiki.xml
+++ b/app/src/main/res/layout/activity_wiki.xml
@@ -32,13 +32,20 @@
</com.google.android.material.appbar.AppBarLayout>
- <androidx.recyclerview.widget.RecyclerView
- android:id="@+id/content_markdown_view_comment_wiki_activity"
+ <androidx.swiperefreshlayout.widget.SwipeRefreshLayout
+ android:id="@+id/swipe_refresh_layout_wiki_activity"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:paddingStart="16dp"
- android:paddingEnd="16dp"
- app:layout_behavior="@string/appbar_scrolling_view_behavior" />
+ app:layout_behavior="@string/appbar_scrolling_view_behavior">
+
+ <androidx.recyclerview.widget.RecyclerView
+ android:id="@+id/content_markdown_view_comment_wiki_activity"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:paddingStart="16dp"
+ android:paddingEnd="16dp" />
+
+ </androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
<LinearLayout
android:id="@+id/fetch_wiki_linear_layout_wiki_activity"