From 45181aa712dc248686c50bda6249e3811d68ba1d Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Fri, 16 Jul 2021 21:01:39 +0800 Subject: Add column spacing to the RecyclerView in PostGalleryActivity. --- app/src/main/res/layout/activity_post_gallery.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'app/src/main/res') diff --git a/app/src/main/res/layout/activity_post_gallery.xml b/app/src/main/res/layout/activity_post_gallery.xml index 80f87dc1..150870e0 100644 --- a/app/src/main/res/layout/activity_post_gallery.xml +++ b/app/src/main/res/layout/activity_post_gallery.xml @@ -191,7 +191,9 @@ android:id="@+id/images_recycler_view_post_gallery_activity" android:layout_width="match_parent" android:layout_height="wrap_content" - android:padding="16dp" + android:paddingTop="16dp" + android:paddingStart="8dp" + android:paddingEnd="8dp" app:layoutManager="androidx.recyclerview.widget.GridLayoutManager" app:spanCount="2" /> -- cgit v1.2.3