From b9ecbc2a105828326e8996229eb57640f248b1ce Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Thu, 15 Jul 2021 22:47:21 +0800 Subject: Continue adding support for submitting gallery posts. --- app/src/main/res/layout/activity_post_gallery.xml | 4 +++- .../res/layout/fragment_post_type_bottom_sheet.xml | 19 +++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) (limited to 'app/src/main/res/layout') diff --git a/app/src/main/res/layout/activity_post_gallery.xml b/app/src/main/res/layout/activity_post_gallery.xml index e573b945..5cf045cb 100644 --- a/app/src/main/res/layout/activity_post_gallery.xml +++ b/app/src/main/res/layout/activity_post_gallery.xml @@ -190,7 +190,9 @@ + android:layout_height="wrap_content" + app:layoutManager="androidx.recyclerview.widget.GridLayoutManager" + app:spanCount="2" /> diff --git a/app/src/main/res/layout/fragment_post_type_bottom_sheet.xml b/app/src/main/res/layout/fragment_post_type_bottom_sheet.xml index e89e36a2..7138d814 100644 --- a/app/src/main/res/layout/fragment_post_type_bottom_sheet.xml +++ b/app/src/main/res/layout/fragment_post_type_bottom_sheet.xml @@ -86,6 +86,25 @@ android:focusable="true" android:background="?attr/selectableItemBackground" /> + + \ No newline at end of file -- cgit v1.2.3