aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout-sw600dp
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-07-14 12:04:20 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-07-14 12:04:20 +0000
commit4f9bd0cde0140ef77e3e4004e96f6f990de572c5 (patch)
tree0302447ac5647d6dd706991d24d8c4c0147f00a3 /app/src/main/res/layout-sw600dp
parentf6aca0e9a0510e520f6fb1e81f85df5c6e8d0f81 (diff)
downloadinfinity-for-reddit-4f9bd0cde0140ef77e3e4004e96f6f990de572c5.tar
infinity-for-reddit-4f9bd0cde0140ef77e3e4004e96f6f990de572c5.tar.gz
infinity-for-reddit-4f9bd0cde0140ef77e3e4004e96f6f990de572c5.tar.bz2
infinity-for-reddit-4f9bd0cde0140ef77e3e4004e96f6f990de572c5.tar.lz
infinity-for-reddit-4f9bd0cde0140ef77e3e4004e96f6f990de572c5.tar.xz
infinity-for-reddit-4f9bd0cde0140ef77e3e4004e96f6f990de572c5.tar.zst
infinity-for-reddit-4f9bd0cde0140ef77e3e4004e96f6f990de572c5.zip
Declare LayoutManager for RecyclerView in ViewPostDetailFragment.
Diffstat (limited to 'app/src/main/res/layout-sw600dp')
-rw-r--r--app/src/main/res/layout-sw600dp/fragment_view_post_detail.xml7
1 files changed, 5 insertions, 2 deletions
diff --git a/app/src/main/res/layout-sw600dp/fragment_view_post_detail.xml b/app/src/main/res/layout-sw600dp/fragment_view_post_detail.xml
index 6d0beecc..d7fd9d2a 100644
--- a/app/src/main/res/layout-sw600dp/fragment_view_post_detail.xml
+++ b/app/src/main/res/layout-sw600dp/fragment_view_post_detail.xml
@@ -22,7 +22,9 @@
android:id="@+id/post_detail_recycler_view_view_post_detail_fragment"
android:layout_width="0dp"
android:layout_height="match_parent"
- android:layout_weight="1" />
+ android:layout_weight="1"
+ android:clipToPadding="false"
+ app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/comments_recycler_view_view_post_detail_fragment"
@@ -30,7 +32,8 @@
android:layout_height="match_parent"
android:layout_weight="1"
android:paddingBottom="144dp"
- android:clipToPadding="false" />
+ android:clipToPadding="false"
+ app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" />
</LinearLayout>